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
Notes: sideshowbarker 2024-07-19 05:20:47 +09:00

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(),