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=668112002bdc3a7f35e4f0f865a437c91f7dce10;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)