Fixed an issue where the system carousel would get the wrong zIndex value.

This commit is contained in:
Leon Styhre 2021-10-28 22:58:04 +02:00
parent 2c34a33ece
commit ee0fe9a8d1

View file

@ -686,6 +686,7 @@ void SystemView::getDefaultElements(void)
mCarousel.logoSize.y = 0.155f * mSize.y; mCarousel.logoSize.y = 0.155f * mSize.y;
mCarousel.maxLogoCount = 3; mCarousel.maxLogoCount = 3;
mCarousel.zIndex = 40.0f; mCarousel.zIndex = 40.0f;
mCarousel.legacyZIndexMode = true;
// System info bar. // System info bar.
mSystemInfo.setSize(mSize.x, mSystemInfo.getFont()->getLetterHeight() * 2.2f); mSystemInfo.setSize(mSize.x, mSystemInfo.getFont()->getLetterHeight() * 2.2f);