Skip to content

Commit

Permalink
Revert sizing changes on SVG markup. Scaled down the skip icon hoveri…
Browse files Browse the repository at this point in the history
…ng over creatures.
  • Loading branch information
Changh341 committed Sep 22, 2024
1 parent 47da499 commit 201c2b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/autoload/phaser/interface/skip.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/creature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2087,7 +2087,7 @@ class CreatureSprite {
// Add "Skip turn" icon
const skipTurnIcon = this._phaser.add.sprite(0, 50, 'skip');
skipTurnIcon.anchor.setTo(0.5, 0.7); // Give a bit more vertical space
skipTurnIcon.setScaleMinMax(0.63, 0.63, 0.63, 0.63);
skipTurnIcon.setScaleMinMax(0.15, 0.15, 0.15, 0.15);
skipTurnIcon.alpha = 0;
skipTurnIcon.data.hintType = hintType;
skipTurnIcon.data.tweenAlpha = null;
Expand Down

0 comments on commit 201c2b5

Please sign in to comment.