summaryrefslogtreecommitdiff
path: root/src/window_controller.rs
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2023-12-19 20:52:42 +1300
committerBen Bridle <bridle.benjamin@gmail.com>2023-12-19 21:17:35 +1300
commit8e019fb17d49dd1d605e81a59a84febfd4fc41c8 (patch)
treed217df89986e5378c79d7225585f51d2978611dd /src/window_controller.rs
parent6b6bd38e84d1d14a526765bd23926024b2eda3c7 (diff)
downloadphosphor-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/window_controller.rs')
0 files changed, 0 insertions, 0 deletions