fix: mouse-hover controls remained after closing a window (closes #1730)
This commit is contained in:
1 parent
dbddcc1c10
commit
6bd303d2e8
1 file changed
+1
@@ -182,6 +182,7 @@ class ThumbnailView: NSStackView {
|
||||
self.mouseUpCallback = { () -> Void in App.app.focusSelectedWindow(element) }
|
||||
self.mouseMovedCallback = { () -> Void in Windows.updateFocusedWindowIndex(index) }
|
||||
[quitIcon, closeIcon, minimizeIcon, maximizeIcon].forEach { $0.window_ = element }
|
||||
showOrHideWindowControls(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