fix(color): widget zone size may be incorrect on startup (#6251)

This commit is contained in:
philmoz
2025-05-14 08:38:54 +10:00
committed by GitHub
parent 3d9702456b
commit 47c893e32f
2 changed files with 2 additions and 1 deletions
@@ -34,6 +34,7 @@ Layout::Layout(Window* parent, const LayoutFactory* factory,
zoneCount(zoneCount),
zoneMap(zoneMap)
{
show(true);
}
void Layout::setTrimsVisible(bool visible)
@@ -44,7 +44,7 @@ ViewMainDecoration::ViewMainDecoration(Window* parent, bool showTrims, bool show
if (showTrims)
createTrims(w_ml, w_mr, w_bl, w_br);
if (showFM)
createFlightMode(w_bc);
createFlightMode(w_bc);
if (showSliders)
createSliders(w_ml, w_mr, w_bl, w_bc, w_br);
}