ui: Use cursor: pointer for Toggles (#24563)

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz
2025-02-10 16:10:35 +01:00
committed by GitHub
parent d42322ab06
commit ca4378cbaa

View File

@@ -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),