-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wrong viewport scaling at intermediate resolutions
Fixes viewport scale being wrong at resolutions that are not integer multiples of content_scale_factor. This is done by allowing size_2d_override to be Size2 instead of Size2i. This change is not propagated to the exposed SubViewport to keep compatibility for now.
- Loading branch information
1 parent
ad9abe8
commit 33b2360
Showing
3 changed files
with
11 additions
and
11 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
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
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