From 006602e856bbc3e222789cfe00a923b863e3e91b Mon Sep 17 00:00:00 2001 From: Jussi Koskela Date: Thu, 20 Sep 2018 14:22:25 +0300 Subject: [PATCH] Fixed the order of parameters in the transformation gitlab #128 Change-Id: If45204601f2bab283c537b58c25684fd0c3609f5 --- .../diagram/synchronization/graph/TranslateElement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.1