-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Double clicking registers 3 clicks instead of 2 #38
Comments
Are they all of the same click type? Because I'm pretty sure double
clicking is a different action from normal clicks in Vanilla inventories.
…On Sat, 27 Nov 2021, 19:56 LaserSlime, ***@***.***> wrote:
If you double click a GuiElement and let's say print out a message each
time it is clicked, you get 3 messages instead of only 2.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#38>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABMAMTO5M6UYSLQNM5KYZ6TUOESW3ANCNFSM5I4PARIA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
What exactly do you mean by "click type"? It generally happens on all gui elements where you have a way to tell how often theyre clicked. (You can mostly hear the sound being played three times instead of two) |
The type that is part of the InventoryClickEvent which triggered the Click. It's provided in Click#getEvent. |
Ok i found the issue. It registers both the 2 single left clicks and an additional double click. Which results in 3 total clicks. Workaround would be to ignore double clicks. But this should be handled by the plugin itself. |
If you double click a GuiElement and let's say print out a message each time it is clicked, you get 3 messages instead of only 2.
The text was updated successfully, but these errors were encountered: