refactor(macos): do nothing if in fullscreen
parent
ded3dd4cbc
commit
8d49c698e4
|
|
@ -177,6 +177,9 @@ class TerminalController: BaseTerminalController, TabGroupCloseCoordinator.Contr
|
|||
}
|
||||
|
||||
override func toggleBackgroundOpacity() {
|
||||
// Do nothing if in fullscreen (transparency doesn't apply in fullscreen)
|
||||
guard let window = self.window, !window.styleMask.contains(.fullScreen) else { return }
|
||||
|
||||
super.toggleBackgroundOpacity()
|
||||
|
||||
// Sync the window appearance with the new opacity state
|
||||
|
|
|
|||
Loading…
Reference in New Issue