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

Fix hang and crispier look #418

Merged
merged 9 commits into from
Nov 7, 2023
Merged

Fix hang and crispier look #418

merged 9 commits into from
Nov 7, 2023

Conversation

almarklein
Copy link
Owner

@almarklein almarklein commented Nov 7, 2023

The app would sometimes hang, and it looks like it is possible to reproduce the hanging by resizing the window. This takes a couple of measures to prevent the hanging due to negative sizes, and also adds some guards to while loops so they always exit.

Also looked into a better way to determine the physical canvas size, so it's laid exactly ontop of the physical pixels (when possible).

@almarklein almarklein marked this pull request as ready for review November 7, 2023 12:53
@almarklein almarklein merged commit dcfb0bc into main Nov 7, 2023
9 checks passed
@almarklein almarklein deleted the fix-hang branch November 7, 2023 12:56
@almarklein
Copy link
Owner Author

Hanging seems to occur much less. As in I cannot get it to hang anymore with this version.

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.

1 participant