Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxxer committed Nov 29, 2022
1 parent 2f0a630 commit 1661aba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/api/effect.md
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,6 @@ Use the JSON object as the options parameter for `.text()`
`.shape(inType, inOptions)`

```js

new Sequence()
.effect()
.attachTo(token)
Expand All @@ -979,7 +978,6 @@ new Sequence()
.loopProperty("shapes.test", "scale.x", { from: 0.9, to: 1.1, duration: 1000, pingPong: true, ease: "easeInOutSine" })
.loopProperty("shapes.test", "scale.y", { from: 0.9, to: 1.1, duration: 1000, pingPong: true, ease: "easeInOutSine" })
.play()

```

Creates a graphics element, attached to the effect.
Expand Down
3 changes: 3 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Changelog

### Version 2.4.1
- *Effects* - Fixed minor typo in `.mask()`

### Version 2.4.0
- *Sequencer* - Added `Seqencer.EffectManager` to the autocomplete types
- *Sequencer* - Fixed minor issue with the Effect Manager sometimes trying to load non-existent effect data
Expand Down
3 changes: 1 addition & 2 deletions scripts/module/canvas-effects/canvas-effect.js
Original file line number Diff line number Diff line change
Expand Up @@ -1599,8 +1599,7 @@ export default class CanvasEffect extends PIXI.Container {
&& (mask.scale.y === objectSprite.scale.y)
&& (mask.texture === objectSprite.texture)
&& (mask.angle === angle)
&& (foundry.utils.isEmpty(foundry.utils.diffObject(mask.oldData, data)))
&& !forced;
&& (foundry.utils.isEmpty(foundry.utils.diffObject(mask.oldData, data)));

if (noChange) return false;

Expand Down

0 comments on commit 1661aba

Please sign in to comment.