1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 20:25:08 +00:00

WindowServer: Move window title bar icons 1px to the right

This makes wider icons look better, since they no longer rub up against
the left edge.
This commit is contained in:
Andreas Kling 2020-06-27 20:46:35 +02:00
parent 4f71bd54a7
commit e50fa413cb

View file

@ -162,7 +162,7 @@ Gfx::IntRect WindowFrame::title_bar_icon_rect() const
{
auto titlebar_rect = title_bar_rect();
return {
titlebar_rect.x() + 1,
titlebar_rect.x() + 2,
titlebar_rect.y() + 2,
16,
titlebar_rect.height(),