mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 06:25:08 +00:00
LibGUI: Paint GResizeCorner with SystemColor::Window background
This commit is contained in:
parent
889a60a6ed
commit
a3590ca602
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ void GResizeCorner::paint_event(GPaintEvent& event)
|
||||||
{
|
{
|
||||||
GPainter painter(*this);
|
GPainter painter(*this);
|
||||||
painter.add_clip_rect(event.rect());
|
painter.add_clip_rect(event.rect());
|
||||||
painter.fill_rect(rect(), background_color());
|
painter.fill_rect(rect(), SystemColor::Window);
|
||||||
painter.blit({ 0, 0 }, *m_bitmap, m_bitmap->rect());
|
painter.blit({ 0, 0 }, *m_bitmap, m_bitmap->rect());
|
||||||
GWidget::paint_event(event);
|
GWidget::paint_event(event);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue