mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
LibGUI: Get rid of the awkward horizontal line in StatusBar
Just fill StatusBar with button color instead of trying to share paint code with ToolBar.
This commit is contained in:
@@ -89,7 +89,7 @@ void StatusBar::paint_event(PaintEvent& event)
|
||||
{
|
||||
Painter painter(*this);
|
||||
painter.add_clip_rect(event.rect());
|
||||
Gfx::StylePainter::paint_surface(painter, rect(), palette(), !spans_entire_window_horizontally());
|
||||
painter.fill_rect(rect(), palette().button());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user