Merge "Added a class listing the reserved words of SCL language"
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 20 Sep 2018 12:46:12 +0000 (12:46 +0000)
committerGerrit Code Review <gerrit2@simantics>
Thu, 20 Sep 2018 12:46:12 +0000 (12:46 +0000)
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);