Use the correct font for the preferred sidebar icon size. Fixes #2761
This commit is contained in:
parent
ce93d3aadd
commit
73ba42fa1a
|
@ -96,11 +96,13 @@ class SidebarCell : NSTableCellView {
|
|||
}
|
||||
|
||||
override func layout() {
|
||||
if let cellAppearance = cellAppearance {
|
||||
titleView.font = cellAppearance.textFieldFont
|
||||
}
|
||||
resizeSubviews(withOldSize: NSZeroSize)
|
||||
}
|
||||
|
||||
override func resizeSubviews(withOldSize oldSize: NSSize) {
|
||||
|
||||
guard let cellAppearance = cellAppearance else {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue