Skip to content

Commit

Permalink
Merge pull request #16 from redeux1/patch-1
Browse files Browse the repository at this point in the history
Show Token Art: Reference the specific selected token
  • Loading branch information
Drental authored Aug 4, 2023
2 parents 12ccbd3 + 958e8c4 commit 2575314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Hooks.on("init", () => {
if (!tokenActor) {
ui.notifications.error("nothing selected!");
} else {
const popout = new ImagePopout(tokenActor.data.token.texture.src, {
const popout = new ImagePopout(token.document.texture.src, {
title: tokenActor.data.token.name,
shareable: true,
uuid: tokenActor.uuid
Expand Down

0 comments on commit 2575314

Please sign in to comment.