From: Jussi Koskela Date: Thu, 20 Sep 2018 11:22:25 +0000 (+0300) Subject: Fixed the order of parameters in the transformation X-Git-Tag: v1.43.0~136^2~368 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=006602e856bbc3e222789cfe00a923b863e3e91b;p=simantics%2Fplatform.git Fixed the order of parameters in the transformation gitlab #128 Change-Id: If45204601f2bab283c537b58c25684fd0c3609f5 --- diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/synchronization/graph/TranslateElement.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/synchronization/graph/TranslateElement.java index 215b77f3f..f7a1ad185 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/synchronization/graph/TranslateElement.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/synchronization/graph/TranslateElement.java @@ -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);