aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-10-01 14:39:42 -0400
committerbobzel <zzzman@gmail.com>2024-10-01 14:39:42 -0400
commitb4d9626be5dd3fc158fd05589b5deca59a08dd4f (patch)
tree0510beaf0cf336e7fe15cc377acf2081bfc67469 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
parent19f0184da33b5080f301baf78cf8e6f6d113d79a (diff)
cleaning up smart drawing menu options.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index fe5ced29e..cdcc2328f 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -1246,9 +1246,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
);
this._drawing.push(inkDoc);
});
- const collection = MarqueeView.getCollection(this._drawing, undefined, true, { left: 1, top: 1, width: 1, height: 1 });
- console.log('is error here');
- return collection;
+ return MarqueeView.getCollection(this._drawing, undefined, true, { left: opts.x, top: opts.y, width: 1, height: 1 });
};
/**