Skip to content

Commit

Permalink
v1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Sep 11, 2022
1 parent 7262e5a commit 5988478
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.6.2

Updated manifest _again_.

Removed some console log spam.

# 1.6.1

Updated manifest so it correctly reports v10 compability.
Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"discord": "Dorako#0657"
}
],
"version": "1.6.1",
"version": "1.6.2",
"compatibility": {
"minimum": "10.0.0",
"verified": "10.285",
Expand All @@ -32,6 +32,6 @@
},

"scripts": ["scripts/dorako-ui.js"],
"download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.6.1.zip",
"download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.6.2.zip",
"manifest": "https://github.com/Dorako/pf2e-dorako-ui/raw/main/module.json"
}
8 changes: 4 additions & 4 deletions scripts/dorako-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ function addScalingToCombatTrackerAvatars(app, html, data) {
$(".combatant", html).each(function () {
let id = this.dataset.combatantId;
let combatant = game.combat.combatants.get(id);
console.log(combatant);
// console.log(combatant);
let scale = combatant.token.texture.scaleX;
let tokenImageElem = this.getElementsByClassName("token-image")[0];
if (
Expand Down Expand Up @@ -403,9 +403,9 @@ function addAvatarsToFlags(message) {
let tokenImg = message.token?.texture.src;
let userImg = message.user?.avatar;

console.log(message.token);
console.log(message.token?.texture);
console.log(message.token?.texture.src);
// console.log(message.token);
// console.log(message.token?.texture);
// console.log(message.token?.texture.src);

let userAvatar = new Avatar(message.speaker.alias, userImg);

Expand Down

0 comments on commit 5988478

Please sign in to comment.