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

Reverts zed-industries/zed#39235

This broke double-click to zoom, even though it is configured in
settings.
This commit is contained in:
Smit Barmase 2025-10-01 19:55:18 +05:30 committed by GitHub
parent f2df49764e
commit c9b7df4113
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}
}
}