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

Invalidate map size when switching to new table page #950

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

argilo
Copy link
Contributor

@argilo argilo commented Dec 3, 2024

When many sondes are displayed in the table, switching between pages can change the height of the table, which subsequently changes the height of the map. In this situation, invalidateSize() needs to be called to prevent the map from rendering incorrectly.

@whallmann
Copy link

whallmann commented Dec 4, 2024 via email

@whallmann
Copy link

Screenshot_20241204_130709_com android chrome

@argilo
Copy link
Contributor Author

argilo commented Dec 4, 2024

@whallmann Could you open a separate issue for that? I did notice while looking over the code that font sizes in various places are defined relative to the viewport height, which seems to cause trouble. Text is excessively small in landscape mode, for example.

@darksidelemm darksidelemm merged commit f9b3403 into projecthorus:testing Dec 4, 2024
6 checks passed
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.

3 participants