From aaf091d9b4ab8ad7cc52e1b1ee1a6a06eaa77675 Mon Sep 17 00:00:00 2001 From: George Atkinson Date: Thu, 18 Jan 2024 15:08:18 +0000 Subject: [PATCH] Move checkbox cursor style to css --- crates/vizia_core/resources/themes/default_layout.css | 1 + crates/vizia_core/src/views/checkbox.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/vizia_core/resources/themes/default_layout.css b/crates/vizia_core/resources/themes/default_layout.css index 010e054fd..854bc1eeb 100644 --- a/crates/vizia_core/resources/themes/default_layout.css +++ b/crates/vizia_core/resources/themes/default_layout.css @@ -42,6 +42,7 @@ checkbox { height: 20px; child-space: 1s; font-family: "tabler-icons", sans-serif; + cursor: hand; } /* CHIP */ diff --git a/crates/vizia_core/src/views/checkbox.rs b/crates/vizia_core/src/views/checkbox.rs index bf60ededb..5ef7d1adb 100644 --- a/crates/vizia_core/src/views/checkbox.rs +++ b/crates/vizia_core/src/views/checkbox.rs @@ -142,7 +142,6 @@ impl Checkbox { .checked(checked) .role(Role::CheckBox) .default_action_verb(DefaultActionVerb::Click) - .cursor(CursorIcon::Hand) .navigable(true) }