From: Jussi Koskela Date: Tue, 31 Mar 2020 06:47:04 +0000 (+0300) Subject: Fixed the order of shear x and shear y elements X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F83%2F4083%2F1;p=simantics%2Fplatform.git Fixed the order of shear x and shear y elements gitlab #507 Change-Id: Id055e482465eaf0d65292df0cbedbba5b1e318f8 --- 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)