MacOS_TransparentScroller

@MainActor
class MacOS_TransparentScroller : NSScroller

This overrides the draw(_:) method, to ensure that only the “knob” gets drawn.

  • Declaration

    Swift

    @MainActor
    override func draw(_ dirtyRect: NSRect)