fix(color): widget zone size may be incorrect on startup (#6251)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user