ClickTracker

class ClickTracker(tolerance: Int)

Tracks the mouse down and mouse up positions during a click or drag. If the two positions match (within tolerance), a clicked returns true.

Constructors

Link copied to clipboard
fun ClickTracker(tolerance: Int = 5)

Functions

Link copied to clipboard
fun clicked(slidewin: SlideCommands): Boolean

Properties

Link copied to clipboard
val tolerance: Int = 5