Skip to content

Commit

Permalink
version 1.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
p4535992 committed May 5, 2024
1 parent 671fba3 commit 27a05ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

### 1.10.0-1-2 [BREAKING CHANGES]
### 1.10.0-1-2-3 [BREAKING CHANGES]

- Try something new, but without success

Expand Down
6 changes: 3 additions & 3 deletions src/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "pin-cushion",
"title": "Pin Cushion",
"description": "Adds additional functionality on Journal Note/Scene Note and Journal directory",
"version": "1.10.2",
"version": "1.10.3",
"authors": [
{
"name": "Cole Schultz",
Expand Down Expand Up @@ -121,8 +121,8 @@
"maximum": 11
},
"url": "https://github.com/p4535992/foundryvtt-pin-cushion",
"manifest": "https://github.com/p4535992/foundryvtt-pin-cushion/releases/download/1.10.2/module.json",
"download": "https://github.com/p4535992/foundryvtt-pin-cushion/releases/download/1.10.2/module.zip",
"manifest": "https://github.com/p4535992/foundryvtt-pin-cushion/releases/download/1.10.3/module.json",
"download": "https://github.com/p4535992/foundryvtt-pin-cushion/releases/download/1.10.3/module.zip",
"readme": "https://github.com/p4535992/foundryvtt-pin-cushion/blob/master/README.md",
"changelog": "https://github.com/p4535992/foundryvtt-pin-cushion/blob/master/CHANGELOG.md",
"bugs": "https://github.com/p4535992/foundryvtt-pin-cushion/issues",
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/apps/PinCushion.js
Original file line number Diff line number Diff line change
Expand Up @@ -751,13 +751,13 @@ export class PinCushion {
if (revealedNotes) {
// Foundry V11: Note#_onUpdate needs to set refreshText render flag
let result = wrapped(data, options, userId);
if (this.renderFlags && /*getProperty(data, NOTE_FLAG)*/ data?.flags && data?.flags[CONSTANTS.MODULE_ID]) {
if (this.renderFlags && data?.flags?.[CONSTANTS.MODULE_ID]) {
// Ensure everything is redrawn - since icon colour might change, not just visibility
this.renderFlags.set({ redraw: true });
}
return result;
} else {
if (this.renderFlags && /*getProperty(data, NOTE_FLAG)*/ data?.flags && data?.flags[CONSTANTS.MODULE_ID]) {
if (this.renderFlags && data?.flags?.[CONSTANTS.MODULE_ID]) {
// Ensure everything is redrawn - since icon colour might change, not just visibility
this.renderFlags.set({ redraw: true });
}
Expand Down

0 comments on commit 27a05ad

Please sign in to comment.