Skip to content

Commit

Permalink
v3.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPrimate committed Jul 21, 2022
1 parent c144b4d commit 459c000
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ jobs:
args: "Squint (Intern) has released Tokenizer ${{ steps.get-version.outputs.version }}."

# - name: FoundryVTT AutoPublish
# uses: Varriount/fvtt-autopublish@v1.0.6
# uses: Varriount/fvtt-autopublish@latest
# with:
# username: ${{ secrets.FOUNDRY_ADMIN_USER }}
# password: ${{ secrets.FOUNDRY_ADMIN_PW }}
# module-id: 71
# manifest-url: https://github.com/${{ github.repository }}/releases/download/${{ steps.get-version.outputs.version }} /module.json
# module-id: ${{ FOUNDRY_MODULE_ID }}
# manifest-url: https://github.com/${{ github.repository }}/releases/download/${{ steps.get-version.outputs.version }}/module.json
# manifest-file: ./module.json

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

# [3.9.1]

* Fix for Token Variants API @dirusulixes#6754

# [3.9.0]

* v10 support
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tokenizer",
"version": "3.9.0",
"version": "3.9.1",
"license": "MIT",
"scripts": {
"lint": "npx eslint src/",
Expand Down
2 changes: 1 addition & 1 deletion src/tokenizer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export default class Tokenizer extends FormApplication {
case "tokenVariants": {
game.modules.get('token-variants').api.showArtSelect(this.tokenOptions.name, {
callback: (imgSrc) => Utils.download(imgSrc).then((img) => view.addImageLayer(img)),
searchType: eventTarget.dataset.target === "avatar" ? "portrait" : "token"
searchType: eventTarget.dataset.target === "avatar" ? "Portrait" : "Token"
});
break;
}
Expand Down

0 comments on commit 459c000

Please sign in to comment.