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

Request render after setting pins layer visiblity #4890

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

Helium314
Copy link
Collaborator

This is an addition to #4880

When selecting a quest or element from overlay, the map is not updated unless there is some zoom animation, position update or user interaction. Same can happen when closing the form.
For quests this is only a small issue, as usually when focusing the camera is moved. Since there is no focusing when selecting an element, the issue shows more often in overlays.

Pins layer visibility appears to be the best place for ctrl.requestRender, as it is changed when selecting an element or quest, and when closing the form.

@westnordost
Copy link
Member

Nice

@westnordost westnordost merged commit eb06960 into streetcomplete:master Mar 20, 2023
@westnordost westnordost deleted the Helium314-patch-1 branch March 20, 2023 11:36
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