diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/collectionFreeForm/FormatShapePane.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionFreeForm/FormatShapePane.tsx b/src/client/views/collections/collectionFreeForm/FormatShapePane.tsx index adb71c6aa..a2600a2b3 100644 --- a/src/client/views/collections/collectionFreeForm/FormatShapePane.tsx +++ b/src/client/views/collections/collectionFreeForm/FormatShapePane.tsx @@ -256,10 +256,10 @@ export default class FormatShapePane extends AntimodeMenu { doc._height = (bottom2 - top2); doc._width = (right2 - left2); //if points move out of bounds - console.log(doc.x); + doc.x = oldx - (left - left2); doc.y = oldy - (top - top2); - console.log(doc.x); + } } } |