From ab01dbd525b01acac29aa9d3dc9ca5867ea9fb68 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Mon, 7 Sep 2015 11:08:32 -0400 Subject: [PATCH] Use correct transform when resizing objects. --- glabels/View.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glabels/View.cpp b/glabels/View.cpp index 25b8a56..dcd0022 100644 --- a/glabels/View.cpp +++ b/glabels/View.cpp @@ -733,7 +733,7 @@ glabels::View::handleResizeMotion( double xWorld, double yWorld ) * Change to item relative coordinates */ p -= QPointF( mResizeObject->x0(), mResizeObject->y0() ); - p = mResizeObject->matrix().map( p ); + p = mResizeObject->matrix().inverted().map( p ); /* * Initialize origin and 2 corners in object relative coordinates.