Decreased the background caching invalidation delay from 50 to 25 ms.

This commit is contained in:
Leon Styhre 2022-01-09 19:48:29 +01:00
parent 6ff91e89ca
commit f66bb91496

View file

@ -402,10 +402,10 @@ bool Window::isBackgroundDimmed()
void Window::render()
{
// Short 50 ms delay before invalidating the cached background which will give the various
// Short 25 ms delay before invalidating the cached background which will give the various
// components a chance to render so they don't get exclued from the new cached image.
if (mInitiateCacheTimer) {
mInvalidateCacheTimer = 50;
mInvalidateCacheTimer = 25;
mInitiateCacheTimer = false;
}