diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-05 13:20:36 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-05 13:20:36 +0100 |
commit | caff611ca3bc90b4cf7ba93491d74e8ed975d44e (patch) | |
tree | d4c766f3fc1225e400f31f58bf2c2ba244033e50 /WindowServer | |
parent | 0669ef8977e04fd5c76077d0b6d3ad44c0f709b6 (diff) | |
download | serenity-caff611ca3bc90b4cf7ba93491d74e8ed975d44e.zip |
WindowServer: Tweak window title bar look.
Diffstat (limited to 'WindowServer')
-rw-r--r-- | WindowServer/WSWindowManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WindowServer/WSWindowManager.cpp b/WindowServer/WSWindowManager.cpp index b8b3d81ddd..4a8c340312 100644 --- a/WindowServer/WSWindowManager.cpp +++ b/WindowServer/WSWindowManager.cpp @@ -226,7 +226,7 @@ void WSWindowManager::paint_window_frame(WSWindow& window) m_back_painter->fill_rect_with_gradient(titlebar_rect, border_color, border_color2); for (int i = 2; i <= titlebar_inner_rect.height() - 4; i += 2) { - m_back_painter->draw_line({ titlebar_title_rect.right() + 4, titlebar_inner_rect.y() + i }, { close_button_rect.left() - 4, titlebar_inner_rect.y() + i }, border_color); + m_back_painter->draw_line({ titlebar_title_rect.right() + 4, titlebar_inner_rect.y() + i }, { close_button_rect.left() - 3, titlebar_inner_rect.y() + i }, border_color); } m_back_painter->draw_rect(border_rect, middle_border_color); m_back_painter->draw_rect(outer_rect, border_color); |