diff options
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java')
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java b/src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java index e77f51aad..88c046280 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java +++ b/src/graphui/classes/com/jogamp/graph/ui/layout/GridLayout.java @@ -339,9 +339,9 @@ public class GridLayout implements Group.Layout { } else if( !isCenteredHoriz && diffBL.x() > 0 ) { diffBL.setX(0); // only adjust negative if !center-horiz } - diffBL.scale(s.getScale()).scale(-1f); + diffBL.mul(s.getScale()).scale(-1f); } else { - diffBL.min(new Vec3f()).scale(s.getScale()).scale(-1f); + diffBL.min(new Vec3f()).mul(s.getScale()).scale(-1f); } s.move( diffBL.scale(sxy) ); if( TRACE_LAYOUT ) { |