mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 13:55:08 +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:
parent
74cc0560e8
commit
56c73f03ce
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue