src_js/iconolab-bundle/src/components/editor/ShapeRect.vue
changeset 332 1670e5e1ed97
parent 323 55c024fc7c60
child 334 a0caf91c8374
--- a/src_js/iconolab-bundle/src/components/editor/ShapeRect.vue	Tue Feb 21 14:35:19 2017 +0100
+++ b/src_js/iconolab-bundle/src/components/editor/ShapeRect.vue	Tue Feb 21 14:35:45 2017 +0100
@@ -58,6 +58,7 @@
                     if (self.isResizing) { return; }
 
                     var snapInvMatrix = this.transform().diffMatrix.invert();
+                    snapInvMatrix.e = snapInvMatrix.f = 0;
                     var tdx = snapInvMatrix.x(dx, dy);
                     var tdy = snapInvMatrix.y(dx, dy);