Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Revert "gpui: Respect macOS 'Do Nothing' window double-click setting" (#39291)

Smit Barmasec9b7df4113b5
diff --git a/crates/gpui/src/platform/mac/window.rs b/crates/gpui/src/platform/mac/window.rs
index 694dc7e023d..d5b1ea900d8 100644
--- a/crates/gpui/src/platform/mac/window.rs
+++ b/crates/gpui/src/platform/mac/window.rs
@@ -1530,11 +1530,8 @@ impl PlatformWindow for MacWindow {
// There is no documented API for "Fill" action, so we'll just zoom the window
window.zoom_(nil);
}
- "None" | "" => {
- // Do nothing - respect the "Do Nothing" system setting
- }
_ => {
- // Default to doing nothing for unrecognized settings
+ window.zoom_(nil);
}
}
}