Skip to content

Commit

Permalink
Fixed static sized hud scaling, fixes #37
Browse files Browse the repository at this point in the history
  • Loading branch information
illandril committed Sep 28, 2022
1 parent 6ee2bdb commit d1bc396
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module/scripts/hud-button-scaler.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ const rescaleSetPosition = function () {
let scale = hudButtonScale;
if (staticSizedHUD) {
scale /= canvas.stage.scale.x;
} else {
scale *= ratio;
}
scale *= ratio;

const tokenCenterX = this.object.x + td.width * ratio * 50;
const tokenCenterY = this.object.y + td.height * ratio * 50;
Expand Down

0 comments on commit d1bc396

Please sign in to comment.