mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +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:
parent
4f71bd54a7
commit
e50fa413cb
Notes:
sideshowbarker
2024-07-19 05:20:47 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/e50fa413cbe
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Reference in a new issue