diff options
author | bobzel <zzzman@gmail.com> | 2020-11-03 14:26:19 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-11-03 14:26:19 -0500 |
commit | eacb4733e85ada91520fe401f5c1351f7bbc38d4 (patch) | |
tree | 8cd7f900cc6038924802a0274522674cbb469596 /src/client/views/nodes/DocumentView.tsx | |
parent | 2d1d6f9551c234ffba2bee6e3569caee145e7c27 (diff) |
added undo's for icon/deiconifying pile docs and icon docs. added a zoom hack to focus on stacking documents. stopped autoscroll on nested collections.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 5fb2a8db9..f6a147c50 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -325,7 +325,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu thisContainer: this.props.ContainingCollectionDoc, shiftKey: e.shiftKey }, console.log); - func(); + undoBatch(func)(); } else if (!Doc.IsSystem(this.props.Document)) { if (this.props.Document.type === DocumentType.INK) { InkStrokeProperties.Instance && (InkStrokeProperties.Instance._controlBtn = true); |