Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there an option to disable "tap & go" and require "drag & drop" to move a piece? #140

Open
actor10 opened this issue Apr 1, 2024 · 1 comment

Comments

@actor10
Copy link

actor10 commented Apr 1, 2024

For one particular program, I would like to only allow "drag & drop" for piece moving.
(I want mouse down & up on the same square to mean something special.)

I was working on trapping the mouse actions to cancel the tap & go but thought I would ask if there was a builtin way to disable the tap & go.

@actor10
Copy link
Author

actor10 commented Apr 1, 2024

Tracking the input & event callbacks, it feels like what I want to do is on mouse down & up on the same square to have a call to force a "move cancel". I.e., get it back to where the next mouse down is at the "moveInputStarted".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant