From 668112002bdc3a7f35e4f0f865a437c91f7dce10 Mon Sep 17 00:00:00 2001 From: Jussi Koskela Date: Tue, 31 Mar 2020 09:47:04 +0300 Subject: [PATCH] Fixed the order of shear x and shear y elements gitlab #507 Change-Id: Id055e482465eaf0d65292df0cbedbba5b1e318f8 --- .../src/org/simantics/diagram/handler/MouseScaleMode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/handler/MouseScaleMode.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/handler/MouseScaleMode.java index 539e28461..32df540ee 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/handler/MouseScaleMode.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/handler/MouseScaleMode.java @@ -315,8 +315,8 @@ public class MouseScaleMode extends AbstractMode { System.out.println("Lp: " + p); localAt.setTransform( - localAt.getScaleX(), localAt.getShearX(), - localAt.getShearY(), localAt.getScaleY(), + localAt.getScaleX(), localAt.getShearY(), + localAt.getShearX(), localAt.getScaleY(), p.getX(), p.getY()); if (DEBUG) -- 2.47.1