Fixed the order of shear x and shear y elements 83/4083/1 master private/solvo
authorJussi Koskela <jussi.koskela@semantum.fi>
Tue, 31 Mar 2020 06:47:04 +0000 (09:47 +0300)
committerJussi Koskela <jussi.koskela@semantum.fi>
Tue, 31 Mar 2020 06:47:04 +0000 (09:47 +0300)
gitlab #507

Change-Id: Id055e482465eaf0d65292df0cbedbba5b1e318f8

bundles/org.simantics.diagram/src/org/simantics/diagram/handler/MouseScaleMode.java

index 539e284611daef9388b578bafb82054e09d4df2a..32df540eec5a10ea41da8062652b30d16002d4dd 100644 (file)
@@ -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)