1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:48:11 +00:00

ProcessManager+LibGUI: Tweak things to improve ProcessManager look.

This commit is contained in:
Andreas Kling 2019-05-05 20:53:04 +02:00
parent 9e5ad25188
commit 3bdb95e128
7 changed files with 20 additions and 15 deletions

View file

@ -81,5 +81,5 @@ void GToolBar::paint_event(GPaintEvent& event)
{
GPainter painter(*this);
painter.add_clip_rect(event.rect());
StylePainter::paint_surface(painter, rect(), !spans_entire_window_horizontally());
StylePainter::paint_surface(painter, rect(), x() != 0, y() != 0);
}