Skip to content

Commit

Permalink
WindowServer: Tweak window title bar look.
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Feb 5, 2019
1 parent 0669ef8 commit caff611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WindowServer/WSWindowManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit caff611

Please sign in to comment.