mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-26 12:27:29 +00:00
macos: animate in even if remain on another space
This commit is contained in:
@@ -162,14 +162,6 @@ class QuickTerminalController: BaseTerminalController {
|
|||||||
// MARK: Methods
|
// MARK: Methods
|
||||||
|
|
||||||
func toggle() {
|
func toggle() {
|
||||||
if derivedConfig.quickTerminalSpaceBehavior == .remain && self.window?.isOnActiveSpace == false {
|
|
||||||
// If we're in the remain mode and the window is not on the active space, then we bring the window back to the active space.
|
|
||||||
DispatchQueue.main.async {
|
|
||||||
self.window?.makeKeyAndOrderFront(nil)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if (visible) {
|
if (visible) {
|
||||||
animateOut()
|
animateOut()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user