ui: Use cursor: pointer for Toggles (#24563)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
@@ -433,6 +433,7 @@ impl RenderOnce for Switch {
|
|||||||
h_flex()
|
h_flex()
|
||||||
.id(self.id)
|
.id(self.id)
|
||||||
.gap(DynamicSpacing::Base06.rems(cx))
|
.gap(DynamicSpacing::Base06.rems(cx))
|
||||||
|
.cursor_pointer()
|
||||||
.child(switch)
|
.child(switch)
|
||||||
.when_some(
|
.when_some(
|
||||||
self.on_click.filter(|_| !self.disabled),
|
self.on_click.filter(|_| !self.disabled),
|
||||||
|
|||||||
Reference in New Issue
Block a user