Fixed a SystemView clipping issue.

This commit is contained in:
Leon Styhre 2022-09-25 20:55:26 +02:00
parent 123f29aa43
commit 65999e5a09

View file

@ -185,11 +185,10 @@ void SystemView::render(const glm::mat4& parentTrans)
glm::ivec2 {static_cast<int>(std::round(mSize.x)), static_cast<int>(std::round(mSize.y))}); glm::ivec2 {static_cast<int>(std::round(mSize.x)), static_cast<int>(std::round(mSize.y))});
mPrimary->render(trans); mPrimary->render(trans);
mRenderer->popClipRect();
if (!fade || mLegacyMode) if (!fade || mLegacyMode)
renderElements(parentTrans, true); renderElements(parentTrans, true);
mRenderer->popClipRect();
} }
void SystemView::onThemeChanged(const std::shared_ptr<ThemeData>& /*theme*/) void SystemView::onThemeChanged(const std::shared_ptr<ThemeData>& /*theme*/)