expo: minor damage fix

This commit is contained in:
Vaxry 2024-04-03 21:19:26 +01:00
parent 71b97f0f24
commit 7c187cdd27

View file

@ -335,7 +335,7 @@ void COverview::close() {
void COverview::onPreRender() { void COverview::onPreRender() {
if (damageDirty) { if (damageDirty) {
damageDirty = false; damageDirty = false;
redrawID(openedID); redrawID(closing ? (closeOnID == -1 ? openedID : closeOnID) : openedID);
} }
} }