Skip to content

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

Open
Fox-Alpha wants to merge 2 commits into
jonathaneeckhout:mainfrom
Fox-Alpha:Try_something
Open

After Closing Bug Dialog. It will still opened by ESC Key#260
Fox-Alpha wants to merge 2 commits into
jonathaneeckhout:mainfrom
Fox-Alpha:Try_something

Conversation

@Fox-Alpha

Copy link
Copy Markdown
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

jonathaneeckhout commented Mar 19, 2024

Copy link
Copy Markdown
Owner

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
Copy Markdown
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