Improved RenderScope #59

This commit is contained in:
2026-03-25 18:23:14 +01:00
parent 3d315fa2cc
commit c72af1300a
3 changed files with 52 additions and 30 deletions
@@ -76,7 +76,7 @@ public abstract class Input extends Element {
(int) (Fonts.getWidth(visibleText.substring(0, cursorPosition - scrollOffset), Theme.FONT.value)
* 0.6f);
renderScope.drawRect(cursorX, 2, 1, height - 4, 0xFFFFFFFF);
renderScope.drawRectangle(cursorX, 2, 1, height - 4, 0xFFFFFFFF);
}
}