diff options
author | Mike Akers <mike.akers@gmail.com> | 2022-06-19 21:50:36 -0400 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2022-06-20 16:50:25 +0100 |
commit | 27f93a30522b332602474acd652800c35b76015a (patch) | |
tree | e5c5e13cc947ffdb63385bee7ca255b134d6e20b /Ports/SDL2_sound | |
parent | 9a908748e0369eb20f480cbe809a2e5872fcf736 (diff) | |
download | serenity-27f93a30522b332602474acd652800c35b76015a.zip |
LibGUI: Prevent CenterWithinParent Dialogs from appearing offscreen
When a dialog is created the position is checked against the Desktop's
rect and repositioned to be entirely visible. If the dialog is larger
than the desktop's rect it is just centered.
Diffstat (limited to 'Ports/SDL2_sound')
0 files changed, 0 insertions, 0 deletions