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

Prevent clicking on HUD widgets from acting on the map #689

Merged
merged 1 commit into from
Oct 27, 2021

Conversation

lmoureaux
Copy link
Contributor

@lmoureaux lmoureaux commented Oct 15, 2021

Clicking on a widget displayed on top of the map was sometimes triggering
actions as if the map had been clicked underneath. Prevent this by disabling
the propagation of mouse events to the parent widget.

Closes #687.

@jwrober
Copy link
Collaborator

jwrober commented Oct 17, 2021

This only fixes/closes 687. It does not resolve 566.

@lmoureaux
Copy link
Contributor Author

Ok right, it fixes what Kevin originally reported for 566 but not what I wrote there.

Clicking on a widget displayed on top of the map was sometimes triggering
actions as if the map had been clicked underneath. Prevent this by disabling
the propagation of mouse events to the parent widget.

Closes longturn#687.
@lmoureaux lmoureaux force-pushed the bugfix/click-through-panels branch from b91bd2e to 889a5ec Compare October 17, 2021 01:22
@lmoureaux lmoureaux merged commit 3993b91 into longturn:master Oct 27, 2021
@lmoureaux lmoureaux deleted the bugfix/click-through-panels branch October 27, 2021 20:38
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.

Clicking on Unit in "Unit Bar" at bottom of screen opens City window when overlapping
2 participants