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

Don't let middle click erase tile labels #1737

Merged

Conversation

lmoureaux
Copy link
Contributor

#1669 turned out to be caused by a bug in the rendering code. The first commit fixes it, the second commit is a small refactor.

First commit might be backported.

Closes #1669.

We need to keep track of the dimensions of the largest tile label in order to
trigger redraws when needed. This code had been broken earlier and the size was
always 0. Repair it.

Closes longturn#1669.
Lets us remove one variable and simplify the code slightly thanks to
expandedTo().
@jwrober jwrober merged commit 8d231df into longturn:master Jan 15, 2023
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.

Map labels disappear in specific scenarios
2 participants