summaryrefslogtreecommitdiff
path: root/SharedGraphics
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-05-04 21:16:41 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-04 21:16:41 +0200
commita8c856ed3d9d47ba6ca8ec4ab1d12e2f6fe484e4 (patch)
treed5fc14fdede1b1f213914984f4f488dca80550f6 /SharedGraphics
parent6228503c16a78dc70d5ff22f229ce18d4d567af6 (diff)
downloadserenity-a8c856ed3d9d47ba6ca8ec4ab1d12e2f6fe484e4.zip
GTableView: Improve look of column headers, and add sort order indicators.
Diffstat (limited to 'SharedGraphics')
-rw-r--r--SharedGraphics/StylePainter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/SharedGraphics/StylePainter.cpp b/SharedGraphics/StylePainter.cpp
index 0e6b496c52..4fbb6b852d 100644
--- a/SharedGraphics/StylePainter.cpp
+++ b/SharedGraphics/StylePainter.cpp
@@ -23,7 +23,7 @@ static void paint_button_new(Painter& painter, const Rect& rect, bool pressed, b
// Base
painter.fill_rect({ 1, 1, rect.width() - 2, rect.height() - 2 }, button_color);
- painter.draw_rect(rect, shadow_color2);
+ painter.draw_rect({ { }, rect.size() }, shadow_color2);
// Sunken shadow
painter.draw_line({ 1, 1 }, { rect.width() - 2, 1 }, shadow_color1);