mirror of
https://github.com/konvajs/konva.git
synced 2026-03-03 16:58:33 +08:00
absolute transforms are now cached
This commit is contained in:
@@ -218,6 +218,10 @@
|
||||
}
|
||||
},
|
||||
_applyAncestorTransforms: function(node) {
|
||||
var m = node.getAbsoluteTransform().getMatrix();
|
||||
this.context.transform(m[0], m[1], m[2], m[3], m[4], m[5]);
|
||||
|
||||
/*
|
||||
var context = this.context,
|
||||
t, m;
|
||||
|
||||
@@ -226,6 +230,7 @@
|
||||
m = t.getMatrix();
|
||||
context.transform(m[0], m[1], m[2], m[3], m[4], m[5]);
|
||||
}, true);
|
||||
*/
|
||||
},
|
||||
_clip: function(container) {
|
||||
var context = this.getContext();
|
||||
|
||||
Reference in New Issue
Block a user