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 · 2 comments

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".

@shaack
Copy link
Owner

shaack commented Jun 24, 2024

Seems to be a good idea for me to make this configureable.
a) Only drag & drop
b) Only Tap and Go
c) Both

But it has not the highest priority. Will give this an "enhancement" tag.

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

No branches or pull requests

2 participants