less text padding in simplebutton, rename sbv2 ease middle button

This commit is contained in:
yugecin
2016-12-25 16:30:30 +01:00
parent 2b5ee7d8b8
commit 0f0695c34a
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ public class SimpleButton {
g.setColor(bg);
g.fillRect(hitbox.x, hitbox.y, hitbox.width, hitbox.height);
g.setColor(fg);
font.drawString(hitbox.x + 20, textY, text);
font.drawString(hitbox.x + 5, textY, text);
if (isHovered) {
g.setColor(hoverBorder);
} else {