Browse Source

Update UpcomingEventView.swift

pull/113/head
Abhishek 3 years ago
parent
commit
ccd449f3f4
  1. 9
      Clocker/Panel/Rate Controller/UpcomingEventView.swift

9
Clocker/Panel/Rate Controller/UpcomingEventView.swift

@ -71,15 +71,6 @@ class ThinScroller: NSScroller {
override func drawKnobSlot(in _: NSRect, highlight _: Bool) { override func drawKnobSlot(in _: NSRect, highlight _: Bool) {
// Leaving this empty to prevent background drawing // Leaving this empty to prevent background drawing
} }
override func drawKnob() {
let knobRect = rect(for: .knob)
let knobDimensions: CGFloat = 10.0
let newRect = NSMakeRect(knobRect.origin.x, knobRect.origin.y + 5, knobDimensions, knobDimensions)
let path = NSBezierPath(ovalIn: newRect)
NSColor.lightGray.set()
path.fill()
}
} }
class DraggableClipView: NSClipView { class DraggableClipView: NSClipView {

Loading…
Cancel
Save