diff options
author | bobzel <zzzman@gmail.com> | 2022-08-24 18:21:21 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-08-24 18:21:21 -0400 |
commit | cc1f967b88816f99b131e8d965bc13e16cd26acf (patch) | |
tree | 49371b6727d9164815b731e2e863a0beb828258e /src/client/views/DocumentDecorations.tsx | |
parent | 94dbcc40067cb6637f7a535ff305d9452a3f40d1 (diff) | |
parent | 749fd6b1fff8ee8392de466ac2433f17ed093dec (diff) |
Merge branch 'parker'
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index ab77af0f4..3589e014a 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -358,8 +358,8 @@ export class DocumentDecorations extends React.Component<{ PanelWidth: number; P @action onPointerDown = (e: React.PointerEvent): void => { - DragManager.docsBeingDragged.push(...SelectionManager.Views().map(dv => dv.rootDoc)); - this._inkDragDocs = DragManager.docsBeingDragged + const views = SelectionManager.Views().map(dv => dv.rootDoc); + this._inkDragDocs = views .filter(doc => doc.type === DocumentType.INK) .map(doc => { if (InkStrokeProperties.Instance._lock) { |