]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Fixed the order of parameters in the transformation 10/2210/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Thu, 20 Sep 2018 11:22:25 +0000 (14:22 +0300)
committerJussi Koskela <jussi.koskela@semantum.fi>
Thu, 20 Sep 2018 11:22:25 +0000 (14:22 +0300)
gitlab #128

Change-Id: If45204601f2bab283c537b58c25684fd0c3609f5

bundles/org.simantics.diagram/src/org/simantics/diagram/synchronization/graph/TranslateElement.java

index 215b77f3f3204ab90f4b0d2c534d5aa184d9acba..f7a1ad185429f8d17b495ed560a6392566a0add7 100644 (file)
@@ -97,7 +97,7 @@ public class TranslateElement extends ModificationAdapter {
         if (!changed)
             return;
 
-        at.setTransform(at.getScaleX(), at.getShearX(), at.getShearY(), at.getScaleY(), x, y);
+        at.setTransform(at.getScaleX(), at.getShearY(), at.getShearX(), at.getScaleY(), x, y);
 
         DiagramGraphUtil.setTransform(graph, element, at);
         CommentMetadata cm = graph.getMetadata(CommentMetadata.class);