diff --git a/Clocker/Menu Bar/StatusContainerView.swift b/Clocker/Menu Bar/StatusContainerView.swift index 978c8f2..de66829 100644 --- a/Clocker/Menu Bar/StatusContainerView.swift +++ b/Clocker/Menu Bar/StatusContainerView.swift @@ -170,7 +170,7 @@ class StatusContainerView: NSView { } } - if newWidth != frame.size.width, newWidth >= frame.size.width + 1.5 { + if newWidth != frame.size.width, newWidth > frame.size.width + 2.0 { print("Correcting our width to \(newWidth) and the previous width was \(frame.size.width)") frame = CGRect(x: frame.origin.x, y: frame.origin.y, width: newWidth, height: frame.size.height) } diff --git a/Clocker/Panel/Data Layer/TimezoneData.swift b/Clocker/Panel/Data Layer/TimezoneData.swift index affcb70..4a15d6e 100644 --- a/Clocker/Panel/Data Layer/TimezoneData.swift +++ b/Clocker/Panel/Data Layer/TimezoneData.swift @@ -431,8 +431,8 @@ class TimezoneData: NSObject, NSCoding { guard let compared = object as? TimezoneData else { return false } - - // Plain timezones might have similar placeID. Adding another check for timezone identifier. + + // Plain timezones might have similar placeID. Adding another check for timezone identifier. return placeID == compared.placeID && timezoneID == compared.timezoneID } }