mirror of
https://github.com/konvajs/konva.git
synced 2026-01-21 18:51:52 +08:00
build
This commit is contained in:
8
konva.js
8
konva.js
@@ -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
4
konva.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user