This commit is contained in:
Anton Lavrenov
2018-07-20 11:10:17 +07:00
parent ce67735202
commit 01ce94743d
2 changed files with 5 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
* Konva JavaScript Framework v2.1.7
* http://konvajs.github.io/
* Licensed under the MIT
* Date: Wed Jul 18 2018
* Date: Fri Jul 20 2018
*
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
* Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva)
@@ -3801,16 +3801,14 @@
},
_getAbsoluteTransform: function(top) {
var at = new Konva.Transform(),
transformsEnabled,
trans;
transformsEnabled;
// start with stage and traverse downwards to self
this._eachAncestorReverse(function(node) {
transformsEnabled = node.transformsEnabled();
trans = node.getTransform();
if (transformsEnabled === 'all') {
at.multiply(trans);
at.multiply(node.getTransform());
} else if (transformsEnabled === 'position') {
at.translate(node.x(), node.y());
}

4
konva.min.js vendored

File diff suppressed because one or more lines are too long