mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-28 03:26:28 +00:00
Refactor toggleMaximize to use notifications
This commit is contained in:
@@ -807,12 +807,6 @@ class AppDelegate: NSObject,
|
||||
setSecureInput(.toggle)
|
||||
}
|
||||
|
||||
@IBAction func toggleMaximize(_ sender: Any) {
|
||||
if NSApp.isActive, let keyWindow = NSApp.keyWindow {
|
||||
keyWindow.zoom(self)
|
||||
}
|
||||
}
|
||||
|
||||
@IBAction func toggleQuickTerminal(_ sender: Any) {
|
||||
if quickController == nil {
|
||||
quickController = QuickTerminalController(
|
||||
|
||||
Reference in New Issue
Block a user