fix: sometimes windows titles use the wrong font
This commit is contained in:
1 parent
3ffe23079f
commit
fa1095e83c
1 file changed
+2
@@ -77,6 +77,8 @@ class ThumbnailView: NSStackView {
|
||||
let labelChanged = label.string != element.title
|
||||
if labelChanged {
|
||||
label.string = element.title
|
||||
// workaround: setting string on NSTextView changes the font (most likely a Cocoa bug)
|
||||
label.font = Preferences.font
|
||||
}
|
||||
assignIfDifferent(&hiddenIcon.isHidden, !element.isHidden)
|
||||
assignIfDifferent(&fullscreenIcon.isHidden, !element.isFullscreen)
|
||||
|
||||
Reference in new issue
Block a user