diff options
author | eleanor-park <eleanor_park@brown.edu> | 2024-07-02 14:49:54 -0400 |
---|---|---|
committer | eleanor-park <eleanor_park@brown.edu> | 2024-07-02 14:49:54 -0400 |
commit | 22ef5658b825281f5dd51e3c51a62c3d53756dc0 (patch) | |
tree | b12c06b34e0a8c2f413de92e5770991038a3c95f /src | |
parent | f84a8d79c07bdd55e48acc976227a2ceeb457e5f (diff) |
fixed pointer event problem
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 09bb3649d..0bdcc8450 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -518,8 +518,8 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection e.stopPropagation(); case InkTool.None: if (!(this._props.layoutEngine?.() || StrCast(this.layoutDoc._layoutEngine))) { - setupMoveUpEvents(this, e, this.onPointerMove, emptyFunction, emptyFunction, hit !== -1); - e.stopPropagation(); + const hit = this._clusters.handlePointerDown(this.screenToFreeformContentsXf.transformPoint(e.clientX, e.clientY)); + setupMoveUpEvents(this, e, this.onPointerMove, emptyFunction, emptyFunction, hit !== -1, false); } break; default: |