1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:17:36 +00:00

Stop recomposing the window hierarchy after every dang widget paint.

This commit is contained in:
Andreas Kling 2019-01-09 04:46:16 +01:00
parent f3ec96a1b9
commit cfd76ade73
8 changed files with 34 additions and 41 deletions

View file

@ -21,8 +21,6 @@ Painter::Painter(Widget& widget)
Painter::~Painter()
{
if (m_window)
m_window->did_paint();
}
void Painter::fillRect(const Rect& rect, Color color)