mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Removed uneeded code
This commit is contained in:
@ -308,10 +308,6 @@ class TerminalController: BaseTerminalController {
|
|||||||
window.standardWindowButton(.miniaturizeButton)?.isHidden = true
|
window.standardWindowButton(.miniaturizeButton)?.isHidden = true
|
||||||
window.standardWindowButton(.zoomButton)?.isHidden = true
|
window.standardWindowButton(.zoomButton)?.isHidden = true
|
||||||
|
|
||||||
// Hide document icon button(proxy icon)
|
|
||||||
window.representedURL = nil
|
|
||||||
window.standardWindowButton(.documentIconButton)?.isHidden = true
|
|
||||||
|
|
||||||
// Disallow tabbing if the titlebar is hidden, since that will (should) also hide the tab bar.
|
// Disallow tabbing if the titlebar is hidden, since that will (should) also hide the tab bar.
|
||||||
window.tabbingMode = .disallowed
|
window.tabbingMode = .disallowed
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user