Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
ui: Use `cursor: pointer` for `Toggle`s (#24563)
Piotr Osiewiczca4378cbaa04
diff --git a/crates/ui/src/components/toggle.rs b/crates/ui/src/components/toggle.rsindex c287f2f8466..13811883bcc 100644--- a/crates/ui/src/components/toggle.rs+++ b/crates/ui/src/components/toggle.rs@@ -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),