fix(color): widget size/position may not be correct when switched to full screen (#6657)

This commit is contained in:
philmoz
2025-10-14 20:28:09 +10:00
committed by GitHub
parent 0b8f9cf61b
commit 0cb630d81b
@@ -101,6 +101,9 @@ void Layout::checkEvents()
rect_t z = getMainZone();
if (z.x != lastMainZone.x || z.y != lastMainZone.y || z.w != lastMainZone.w || z.h != lastMainZone.h) {
lastMainZone = z;
for (int i = 0; i < MAX_LAYOUT_ZONES; i++)
if (widgets[i] && widgets[i]->isFullscreen())
return;
updateZones();
}
}