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

feat: onDoubleClick() support #18

Open
niceEli opened this issue May 22, 2024 Discussed in #3 · 1 comment
Open

feat: onDoubleClick() support #18

niceEli opened this issue May 22, 2024 Discussed in #3 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@niceEli
Copy link
Member

niceEli commented May 22, 2024

Discussed in #3

Originally posted by amyspark-ng May 21, 2024
I'd be nice to have an onDoubleClick event, taking as a parameter the time that could be between the two clicks, and also having a isMouseDoublePressed.

Also idk if this is being worked on, but events such as onClick should take a 'mouseButton' parameter, since i think right now it is only supported on functions that run onUpdate, such as isMousePressed

@niceEli niceEli added enhancement New feature or request good first issue Good for newcomers labels May 22, 2024
@niceEli niceEli moved this to Todo in KAPLAY.js May 22, 2024
@amyspark-ng
Copy link
Contributor

this should maybe have a parameter which would be time between clicks to be valid? and obviously a mousebutton parameter

@lajbel lajbel self-assigned this Jun 14, 2024
@lajbel lajbel moved this from TODO to WIP in KAPLAY.js Jul 15, 2024
@lajbel lajbel moved this from WIP to TODO in KAPLAY.js Jul 15, 2024
@lajbel lajbel removed the good first issue Good for newcomers label Aug 21, 2024
@lajbel lajbel added this to the 4000 milestone Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: TODO
Development

No branches or pull requests

3 participants