mirror of
https://github.com/lwouis/alt-tab-macos.git
synced 2026-05-24 11:20:36 +00:00
fix: hide window controls after a window is closed (closes #925)
This commit is contained in:
@@ -154,6 +154,8 @@ class ThumbnailView: NSStackView {
|
||||
}
|
||||
self.mouseUpCallback = { () -> Void in App.app.focusSelectedWindow(element) }
|
||||
self.mouseMovedCallback = { () -> Void in Windows.updateFocusedWindowIndex(index) }
|
||||
showOrHideWindowControls(false)
|
||||
[closeIcon, minimizeIcon, maximizeIcon].forEach { $0.hovered(false) }
|
||||
// force a display to avoid flickering; see https://github.com/lwouis/alt-tab-macos/issues/197
|
||||
// quirk: display() should be called last as it resets thumbnail.frame.size somehow
|
||||
if labelChanged {
|
||||
|
||||
Reference in New Issue
Block a user