withPrimaryButton

fun <T : Any> withPrimaryButton(block: (event: PointerEvent, start: ViewPoint<T>, end: ViewPoint<T>) -> DragResult<T>): DragHandle<T>

Process only events with primary button pressed