-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Change how window resize detection works (#1458)
Changes how the detection of window resizing works. Previously relied on hardcoded 800 x 600 value, which was not always correct on MacOS, or rescaling by the scaling factor, which was not always correct on Linux. The physical size of the window is now stored right after the window is initialized, and this value is used whenever we check for window resizing.
- Loading branch information
1 parent
f86e457
commit 324a02b
Showing
1 changed file
with
8 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters