diff --git a/crates/gpui/src/platform/mac/window.rs b/crates/gpui/src/platform/mac/window.rs index d5b1ea900d81adf83448960f485ed767c5549716..694dc7e023d5b46d54d409f1d04a4a5a85c51033 100644 --- a/crates/gpui/src/platform/mac/window.rs +++ b/crates/gpui/src/platform/mac/window.rs @@ -1530,8 +1530,11 @@ 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 + } _ => { - window.zoom_(nil); + // Default to doing nothing for unrecognized settings } } }