Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
version 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
p4535992 committed Jan 14, 2022
1 parent d30022b commit aae8387
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.3.2]

- Bug fix [[BUG] Error message "Cannot redefine property: isVisible"](https://github.com/p4535992/conditional-visibility/issues/6)
- Bug fix [[BUG] Some times when a condition is removed the token stays invisible](https://github.com/p4535992/conditional-visibility/issues/4)
## [0.3.1] Sync with [szefo09](https://github.com/szefo09/conditional-visibility)

- Sync with [szefo09](https://github.com/szefo09/conditional-visibility) (2022-01-06)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "conditional-visibility",
"title": "Conditional Visibility",
"description": "Hide tokens from some players, but not others, based on the senses the players have. Uses unknown, newspaper, and foggy icons made by <a href=\"https://www.flaticon.com/authors/freepik\" title=\"Freepik\">Freepik</a>, from <a href=\"https://www.flaticon.com/\" title=\"Flaticon\"> www.flaticon.com</a>. Moon icon made by <a href=\"https://www.flaticon.com/authors/iconixar\" title=\"iconixar\">iconixar</a> from <a href=\"https://www.flaticon.com/\" title=\"Flaticon\"> www.flaticon.com</a>",
"version": "0.3.1",
"version": "0.3.2",
"scripts": {
"package": "gulp package",
"build": "gulp build && gulp link",
Expand Down
8 changes: 4 additions & 4 deletions src/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "conditional-visibility",
"title": "Conditional Visibility",
"description": "Hide tokens from some players, but not others, based on the senses the players have. Uses unknown, newspaper, and foggy icons made by <a href=\"https://www.flaticon.com/authors/freepik\" title=\"Freepik\">Freepik</a>, from <a href=\"https://www.flaticon.com/\" title=\"Flaticon\"> www.flaticon.com</a>. Moon icon made by <a href=\"https://www.flaticon.com/authors/iconixar\" title=\"iconixar\">iconixar</a> from <a href=\"https://www.flaticon.com/\" title=\"Flaticon\"> www.flaticon.com</a>",
"version": "0.3.1",
"version": "0.3.2",
"author": "Greg Ludington, p4535992, Szefo09, Teshynil",
"type": "module",
"socket": true,
Expand Down Expand Up @@ -62,9 +62,9 @@
"manifestPlusVersion": "1.2.0",
"url": "https://github.com/p4535992/conditional-visibility",
"manifest": "https://github.com/p4535992/conditional-visibility/releases/latest/download/module.json",
"download": "https://github.com/p4535992/conditional-visibility/releases/download/v0.3.1/module.zip",
"readme": "https://github.com/p4535992/conditional-visibility/blob/v0.3.1/README.md",
"changelog": "https://github.com/p4535992/conditional-visibility/blob/v0.3.1/changelog.md",
"download": "https://github.com/p4535992/conditional-visibility/releases/download/v0.3.2/module.zip",
"readme": "https://github.com/p4535992/conditional-visibility/blob/v0.3.2/README.md",
"changelog": "https://github.com/p4535992/conditional-visibility/blob/v0.3.2/changelog.md",
"bugs": "https://github.com/p4535992/conditional-visibility/issues",
"allowBugReporter": true,
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion src/module/ConditionalVisibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export class ConditionalVisibility {
ptu.token.visible = false;
// TODO Need foundry 9 for the setter method
//ptu.token.isVisible = false;
setProperty(ptu.token, 'isVisible', false);
// setProperty(ptu.token, 'isVisible', false);
ptu.token.data.hidden = ptu.hidden;
ptu.token.alpha = ptu.alpha;
//this.removeTokenOnLayer(this._backgroundLayer, ptu.token);
Expand Down

0 comments on commit aae8387

Please sign in to comment.