Browse Source

Corrections.

pull/92/head
Abhishek 4 years ago
parent
commit
0c1b40f041
  1. 2
      Clocker/Menu Bar/StatusContainerView.swift

2
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)
}

Loading…
Cancel
Save