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

Fix selecting city worked tiles #949

Merged
merged 1 commit into from
Mar 20, 2022

Conversation

lmoureaux
Copy link
Contributor

The GUI was reacting to each click twice: the first time for the mouse down
event and the second for mouse up (why we're using both for click-like actions
is beyond me). Make sure that we only use mouse down.

Closes #933.

Test plan: select worked tiles in the city screen.

The GUI was reacting to each click twice: the first time for the mouse down
event and the second for mouse up (why we're using both for click-like actions
is beyond me). Make sure that we only use mouse down.

Closes longturn#933.
@lmoureaux lmoureaux added this to the v3.0-beta.1 milestone Mar 20, 2022
@jwrober jwrober removed this from the v3.0-beta.1 milestone Mar 20, 2022
@jwrober jwrober self-requested a review March 20, 2022 21:35
@jwrober jwrober merged commit 8226292 into longturn:master Mar 20, 2022
@lmoureaux lmoureaux deleted the bugfix/city-select-tiles branch February 12, 2023 03:03
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

Successfully merging this pull request may close these issues.

Mouseup events count as clicks in city view
2 participants