1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:37:35 +00:00

WindowServer: Fix animations not triggering rendering

When starting the first animation and while animations are ongoing we
need to make sure we trigger rendering.
This commit is contained in:
Tom 2021-06-28 17:42:13 -06:00 committed by Andreas Kling
parent ab88f4e082
commit 85bb13e081
3 changed files with 21 additions and 5 deletions

View file

@ -29,6 +29,7 @@ void Animation::start()
{
m_running = true;
m_timer.start();
Compositor::the().animation_started({});
}
void Animation::stop()