diff options
| author | bobzel <zzzman@gmail.com> | 2022-08-19 09:21:28 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-08-19 09:21:28 -0400 |
| commit | 53dc1ae6077774a7235f2fe7f56ffa03f8a9aa5a (patch) | |
| tree | 7d71c948cba1a734489e75329d3a5ec266a328e3 /src/client/views/DocumentDecorations.tsx | |
| parent | 5655589d46c01af74c959c2d365d3eeb15feb407 (diff) | |
fixed undo bug in dragManager where batches weren't being closed. fixed schemaheader copy method to copy all parameters. fixed notetaking columnresizer to create an UndoBatch. fixed notetakingview's columnHeaders to return the actual headers list, not a copy. fixed document decorations to not modify docsBeingDragged
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 0db9eab69..a8dacff51 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -351,8 +351,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) { |
