Skip to content

Fix autotile mode not updating from menu#3547

Open
Semphriss wants to merge 1 commit intoSuperTux:masterfrom
Semphriss:fix-autotile-menu
Open

Fix autotile mode not updating from menu#3547
Semphriss wants to merge 1 commit intoSuperTux:masterfrom
Semphriss:fix-autotile-menu

Conversation

@Semphriss
Copy link
Copy Markdown
Member

Going in the Editor settings menu, toggling the autotile mode and leaving the menu using only the mouse (not the escape key) would not update the status until Ctrl is pressed again.

I fixed this by making the overlay widget refresh immediately when the option changes using the callback implementation of the toggle option.

I'm not sure if this is the best fix possible, but it's a fix, so it can serve as a starting point should modifications be required.

Going in the Editor settings menu, toggling the autotile mode and leaving the menu using only the mouse (not the escape key) would not update the status until Ctrl is pressed again.
Copy link
Copy Markdown
Member

@weluvgoatz weluvgoatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works well

@swagtoy swagtoy force-pushed the master branch 2 times, most recently from 806ca6a to c12b71b Compare March 15, 2026 04:42
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