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
@@ -153,7 +153,7 @@ public class KeystrokesMod extends Mod implements HudMod {
int fg = pressed ? clickFg.value : layout.fgColor.value;
scope.drawRoundedRectangle(x, y, layout.width, SPACE_H, layout.radius.value, bg);
int lineY = y + SPACE_H / 2;
scope.drawRect(x + (layout.width - 30) / 2, lineY, 30, 1, fg);
scope.drawRectangle(x + (layout.width - 30) / 2, lineY, 30, 1, fg);
}
private void refreshHeight() {