mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 02:55:49 +03:00
LibGUI: Paint GResizeCorner with SystemColor::Window background
This commit is contained in:
parent
889a60a6ed
commit
a3590ca602
Notes:
sideshowbarker
2024-07-19 10:44:39 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a3590ca6022
@ -20,7 +20,7 @@ void GResizeCorner::paint_event(GPaintEvent& event)
|
||||
{
|
||||
GPainter painter(*this);
|
||||
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());
|
||||
GWidget::paint_event(event);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user