A module used to change the information of user action entered by various input devices such as touch screen or mouse into the logical virtual coordinates.
This adds the option to cancel the click event when a valid drag occurs in PanInput and RotatePanInput.
We currently implemented this feature on Flicking that uses PanInput.
However, there are cases when you want to use this preventClickOnDrag feature in other UIs that uses PanInput.
After we add preventClickOnDrag to PanInputOption, Flicking can exclude implementation about preventClickOnDrag and handle it by PanInputOption.
Details
This adds the option to cancel the click event when a valid drag occurs in
PanInput
andRotatePanInput
.We currently implemented this feature on Flicking that uses
PanInput
. However, there are cases when you want to use thispreventClickOnDrag
feature in other UIs that usesPanInput
.After we add
preventClickOnDrag
toPanInputOption
, Flicking can exclude implementation aboutpreventClickOnDrag
and handle it byPanInputOption
.