mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03: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
@ -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…
Reference in New Issue
Block a user