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),
|
zoneCount(zoneCount),
|
||||||
zoneMap(zoneMap)
|
zoneMap(zoneMap)
|
||||||
{
|
{
|
||||||
|
show(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Layout::setTrimsVisible(bool visible)
|
void Layout::setTrimsVisible(bool visible)
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ ViewMainDecoration::ViewMainDecoration(Window* parent, bool showTrims, bool show
|
|||||||
if (showTrims)
|
if (showTrims)
|
||||||
createTrims(w_ml, w_mr, w_bl, w_br);
|
createTrims(w_ml, w_mr, w_bl, w_br);
|
||||||
if (showFM)
|
if (showFM)
|
||||||
createFlightMode(w_bc);
|
createFlightMode(w_bc);
|
||||||
if (showSliders)
|
if (showSliders)
|
||||||
createSliders(w_ml, w_mr, w_bl, w_bc, w_br);
|
createSliders(w_ml, w_mr, w_bl, w_bc, w_br);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user