|
|
|
@ -13,6 +13,9 @@ class TimezoneCellView: NSTableCellView {
|
|
|
|
|
@IBOutlet var sunriseImage: NSImageView! |
|
|
|
|
@IBOutlet var currentLocationIndicator: NSImageView! |
|
|
|
|
|
|
|
|
|
static private let minimumFontSizeForTime: Int = 11 |
|
|
|
|
static private let minimumFontSizeForLabel: Int = 10 |
|
|
|
|
|
|
|
|
|
var rowNumber: NSInteger = -1 |
|
|
|
|
var isPopoverDisplayed: Bool = false |
|
|
|
|
|
|
|
|
@ -134,8 +137,8 @@ class TimezoneCellView: NSTableCellView {
|
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
let newFontSize = CGFloat(11 + (userFontSize.intValue * 1)) |
|
|
|
|
let newTimeFontSize = CGFloat(12 + (userFontSize.intValue * 2)) |
|
|
|
|
let newFontSize = CGFloat(TimezoneCellView.minimumFontSizeForLabel + (userFontSize.intValue * 1)) |
|
|
|
|
let newTimeFontSize = CGFloat(TimezoneCellView.minimumFontSizeForTime + (userFontSize.intValue * 2)) |
|
|
|
|
|
|
|
|
|
let fontManager = NSFontManager.shared |
|
|
|
|
|
|
|
|
|