v0.9.3: tweaked the visuals for 4-point talents

This commit is contained in:
Evan Debenham 2021-05-06 17:58:38 -04:00
parent a870b2459d
commit 989afd404a
2 changed files with 2 additions and 2 deletions
core/src/main
assets/interfaces
java/com/shatteredpixel/shatteredpixeldungeon/ui

Binary file not shown.

Before

(image error) Size: 332 B

After

(image error) Size: 324 B

View File

@ -94,9 +94,9 @@ public class TalentButton extends Button {
super.layout();
fill.x = x;
fill.x = x+2;
fill.y = y + WIDTH - 1;
fill.size( pointsInTalent/(float)talent.maxPoints() * WIDTH, 5);
fill.size( pointsInTalent/(float)talent.maxPoints() * (WIDTH-4), 5);
bg.x = x;
bg.y = y;