fix: avoid text flickering on main ui (closes #197)
This commit is contained in:
1 parent
584b3cd397
commit
4eb9db049b
1 file changed
+2
@@ -42,6 +42,8 @@ class ThumbnailView: NSStackView {
|
||||
label.string = element.title
|
||||
// workaround: setting string on NSTextView change the font (most likely a Cocoa bug)
|
||||
label.font = Preferences.font
|
||||
// force a display to avoid flickering; see https://github.com/lwouis/alt-tab-macos/issues/197
|
||||
label.display()
|
||||
}
|
||||
assignIfDifferent(&hiddenIcon.isHidden, !window_!.isHidden)
|
||||
assignIfDifferent(&minimizedIcon.isHidden, !window_!.isMinimized)
|
||||
|
||||
Reference in new issue
Block a user