mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Respect _applyMatrix setting when calling #applyMatrix() in Group#_changed.
Required for Clip to work correctly.
This commit is contained in:
parent
9633384122
commit
f433423789
1 changed files with 2 additions and 1 deletions
|
@ -98,7 +98,8 @@ var Group = Item.extend(/** @lends Group# */{
|
|||
|
||||
_changed: function _changed(flags) {
|
||||
_changed.base.call(this, flags);
|
||||
if (flags & /*#=*/ ChangeFlag.HIERARCHY && !this._matrix.isIdentity()) {
|
||||
if (flags & /*#=*/ ChangeFlag.HIERARCHY && this._applyMatrix
|
||||
&& !this._matrix.isIdentity()) {
|
||||
// Apply matrix now that we have content.
|
||||
this.applyMatrix();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue