mirror of
https://github.com/zed-industries/zed.git
synced 2026-12-02 13:30:26 +01:00
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()
|
||||
.id(self.id)
|
||||
.gap(DynamicSpacing::Base06.rems(cx))
|
||||
.cursor_pointer()
|
||||
.child(switch)
|
||||
.when_some(
|
||||
self.on_click.filter(|_| !self.disabled),
|
||||
|
||||
Reference in New Issue
Block a user