Changed the rendering order so that the clock is rendered above the textlist quick scrolling overlay

This commit is contained in:
Leon Styhre 2025-02-10 17:07:04 +01:00
parent 383968cc37
commit b8c7369ad9

View file

@ -656,11 +656,6 @@ void Window::render()
}
}
if (mClockComponents != nullptr) {
for (auto& clockComponent : *mClockComponents)
clockComponent->render(trans);
}
// Render the quick list scrolling overlay, which is triggered in IList.
if (mListScrollOpacity != 0.0f) {
mRenderer->setMatrix(mRenderer->getIdentity());
@ -692,6 +687,11 @@ void Window::render()
startScreensaver(true);
}
if (mClockComponents != nullptr) {
for (auto& clockComponent : *mClockComponents)
clockComponent->render(trans);
}
if (mInfoPopup)
mInfoPopup->render(trans);