diff options
| author | bobzel <zzzman@gmail.com> | 2023-11-29 19:48:32 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-11-29 19:48:32 -0500 |
| commit | 48b0153d814cddad71caa8103e7ff4c761b66eaa (patch) | |
| tree | 790d98e927f9d16f588d6ee3d0d1d4849ea79b3e /src/client/views/collections/CollectionNoteTakingView.tsx | |
| parent | 412e4aa10e0fab8a949c78e851efdc68661dd522 (diff) | |
fixed menu functions that referenced 'self' instead of 'this'
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionNoteTakingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingView.tsx b/src/client/views/collections/CollectionNoteTakingView.tsx index c7424e7e5..edf9f1f2c 100644 --- a/src/client/views/collections/CollectionNoteTakingView.tsx +++ b/src/client/views/collections/CollectionNoteTakingView.tsx @@ -336,7 +336,7 @@ export class CollectionNoteTakingView extends CollectionSubView() { // onPointerMove is used to preview where a document will drop in a column once a drag is complete. @action onPointerMove = (force: boolean, ex: number, ey: number) => { - if (this.childDocList?.includes(DragManager.DocDragData?.draggedDocuments?.lastElement() as any) || force || this.isContentActive()) { + if (this.childDocList?.includes(DragManager.DocDragData?.draggedDocuments?.lastElement() as any) || force || SnappingManager.GetCanEmbed()) { // get the current docs for the column based on the mouse's x coordinate const xCoord = this.props.ScreenToLocalTransform().transformPoint(ex, ey)[0] - 2 * this.gridGap; const colDocs = this.getDocsFromXCoord(xCoord); |
