Browse Source

Minor changes.

pull/92/head
Abhishek 4 years ago
parent
commit
c963caf55c
  1. 6
      Clocker/Panel/Notes Popover/NotesPopover.swift
  2. 2
      Clocker/Panel/UI/TimezoneCellView.swift

6
Clocker/Panel/Notes Popover/NotesPopover.swift

@ -76,9 +76,9 @@ class NotesPopover: NSViewController {
alertPopupButton.setAccessibilityIdentifier("RemindersAlertPopup")
reminderView.setAccessibilityIdentifier("RemindersView")
// if #available(OSX 11.0, *) {
// alertPopupButton.controlSize = .large
// }
if #available(OSX 11.0, *) {
alertPopupButton.controlSize = .large
}
}
override func viewWillAppear() {

2
Clocker/Panel/UI/TimezoneCellView.swift

@ -149,7 +149,7 @@ class TimezoneCellView: NSTableCellView {
let timeWidth = timeString.size(withAttributes: [NSAttributedString.Key.font: customTimeFont]).width
for constraint in time.constraints {
constraint.constant = constraint.identifier == "height" ? timeHeight : timeWidth
constraint.constant = constraint.identifier == "height" ? timeHeight : timeWidth
}
}

Loading…
Cancel
Save