Browse Source

Fix positioning of the first row.

master
Abhishek Banthia 7 months ago
parent
commit
e3205ee811
  1. 7
      Clocker/Panel/UI/BackgroundPanelView.swift

7
Clocker/Panel/UI/BackgroundPanelView.swift

@ -3,7 +3,7 @@
import Cocoa import Cocoa
struct BackgroundPanelConstants { struct BackgroundPanelConstants {
static let kArrowHeight: CGFloat = 8 static let kArrowHeight: CGFloat = 4
static let kCornerRadius: CGFloat = 8 static let kCornerRadius: CGFloat = 8
static let kBorderWidth: CGFloat = 1 static let kBorderWidth: CGFloat = 1
} }
@ -56,9 +56,4 @@ class BackgroundPanelView: NSView {
override var allowsVibrancy: Bool { override var allowsVibrancy: Bool {
return true return true
} }
func setArrowX(value: CGFloat) {
arrowX = value
setNeedsDisplay(bounds)
}
} }

Loading…
Cancel
Save