shouldInvalidateLayoutForChange(fromVisibleRect:toVisibleRect:)
Determines whether the scrubber should refresh its layout in response to a change of its visible region.
Declaration
func shouldInvalidateLayoutForChange(fromVisibleRect: NSRect, toVisibleRect: NSRect) -> BoolDiscussion
If true, the scrubber invalidates its layout in response to a change of the visible region, in response to a user scroll action, or to the scrubber being resized. Subclasses that rely on the size or origin of the visible region should return true.
The base implementation of this method returns false.