ui: Use cursor: pointer
for Toggle
s (#24563)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
d42322ab06
commit
ca4378cbaa
1 changed files with 1 additions and 0 deletions
|
@ -433,6 +433,7 @@ impl RenderOnce for Switch {
|
|||
h_flex()
|
||||
.id(self.id)
|
||||
.gap(DynamicSpacing::Base06.rems(cx))
|
||||
.cursor_pointer()
|
||||
.child(switch)
|
||||
.when_some(
|
||||
self.on_click.filter(|_| !self.disabled),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue