Skip to content

Commit

Permalink
Recompute draw start position on scorebar reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Spikatrix committed Jul 18, 2021
1 parent 4a6fa38 commit f7d065f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/com/cg/zoned/ScoreBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public void reset() {
for (int i = 0; i < size; i++) {
scoreBarCurrentWidth[i] = scoreBarTargetWidth[i] = 0;
}
computeDrawStartPos();
}

public void resize(int width, int height) {
Expand Down

0 comments on commit f7d065f

Please sign in to comment.