-
-
Notifications
You must be signed in to change notification settings - Fork 17
ArtSelect is not defined #220
Copy link
Copy link
Open
Labels
implementedFix/Feature has been coded and will be included in the next release.Fix/Feature has been coded and will be included in the next release.
Metadata
Metadata
Assignees
Labels
implementedFix/Feature has been coded and will be included in the next release.Fix/Feature has been coded and will be included in the next release.
Describe the bug
The popup that says "Apply the same art to token?" results in an error, even though it does appear to work. I get an error and the prompt won't disappear until I close it, but it does seem to set the same artwork.
Screenshots
FoundryVTT 351
PF2E 7.11.2
My Fix:
I changed
const n=Object.values(ui.windows).filter((e=>e instanceof ArtSelect));
to
const n=Object.values(ui.windows).filter(e=>e?.constructor?.name==="ArtSelect");
in the token-variants.js