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

After Closing Bug Dialog. It will still opened by ESC Key #260

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Fox-Alpha
Copy link
Contributor

Fix: Issue #244
Solution 1: Only check click in region of mainmenu if no submenu is active
Solution 2 as comment: Check for active submenu and check the region for the submenu, queue_free() submenu if outside

Solution 1 is working

At Solution 2, i think it was not 100% working.
Maybe the Dialog region is wrong

But you know your code better. Maybe there is a better point to fix this.

Please ignore the changes in ReportBugMenu.gd

Solution 1: Only check click in region of mainmenu if no submenu is active
Solution 2 as comment: Check for active submenu and check the region for the submenu, queue_free() submenu if outside
@Fox-Alpha Fox-Alpha changed the title Try something After Closing Bug Dialog. It will still opened by ESC Key Mar 19, 2024
@jonathaneeckhout
Copy link
Owner

jonathaneeckhout commented Mar 19, 2024

I will review it once all the actions pass. Currently the formatting action is failing.

You can use gdformat to fix the format and be in line with the rest of the code.

@jonathaneeckhout
Copy link
Owner

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.

2 participants