Temporarily fized UI

This commit is contained in:
2026-03-06 11:24:30 +01:00
parent 5bb69c92eb
commit 4552d74805
4 changed files with 14 additions and 12 deletions
@@ -36,14 +36,14 @@ public class Scroll extends Element {
Theme.BG_RADIUS.value, Theme.BACKGROUND.value);
renderScope.enableScissor(padding, padding, width - padding, height - padding);
renderScope.matrices.push();
renderScope.matrices.translate(padding, -scroll + padding, 0);
renderScope.getMatrixStack().push();
renderScope.getMatrixStack().translate(padding, -scroll + padding, 0);
ElementRenderer.render(children, ctx.elapsed, renderScope,
ctx.mouseX - padding,
ctx.mouseY - padding + scroll);
renderScope.matrices.pop();
renderScope.getMatrixStack().pop();
renderScope.disableScissor();
if (maxScroll > 0) {