-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Let's start scaling when display tweaks is active (#118)
We now sneak a peek at the DisplayTweaks settings if we can find them, and adjust our sizes to account for any scaling or upscaling done behind Imgui's back. If the window is downscaled, we include that in the layout's global scaling when flattening. If it's being upscaled afterward, we downscale twice to stay at a reasonable size. I do not think upscaling looks good, but at least everything is in the right place now. Anchors specified via x & y coordinates are not affected by this scaling.
- Loading branch information
Showing
7 changed files
with
185 additions
and
70 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
Oops, something went wrong.