diff options
author | Ben Bridle <bridle.benjamin@gmail.com> | 2023-12-19 20:52:42 +1300 |
---|---|---|
committer | Ben Bridle <bridle.benjamin@gmail.com> | 2023-12-19 21:17:35 +1300 |
commit | 8e019fb17d49dd1d605e81a59a84febfd4fc41c8 (patch) | |
tree | d217df89986e5378c79d7225585f51d2978611dd /src/render.rs | |
parent | 6b6bd38e84d1d14a526765bd23926024b2eda3c7 (diff) | |
download | phosphor-8e019fb17d49dd1d605e81a59a84febfd4fc41c8.zip |
Use pixel scale as window resize increment
When resizing a window, the window width and height will be made to be a
multiple of the current pixel scale. This is to prevent thin black strips
from rendering along the bottom edge and the right edge of the window
when the dimensions of the window exceed the dimensions of the scaled
screen content.
Diffstat (limited to 'src/render.rs')
0 files changed, 0 insertions, 0 deletions