diff options
| author | bob <bcz@cs.brown.edu> | 2019-05-13 16:21:28 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-05-13 16:21:28 -0400 |
| commit | 3be42131bc08024f06e0daec8d09e45bf3f1ddab (patch) | |
| tree | 4ed0606fb7439f1b6c9f70b128f9e89f80ad5f4c /src/client/views/DocumentDecorations.tsx | |
| parent | 48b0f98ea2519d861a0eecee541dc0986a2c2f12 (diff) | |
a bunch of fixes to schemas, marquees, and an experimental feature to set a document's data with linking UI
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 4786b4de6..5aa3d804d 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -239,6 +239,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> this._removeIcon = snapped; } } + @undoBatch @action onMinimizeUp = (e: PointerEvent): void => { e.stopPropagation(); @@ -270,6 +271,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> runInAction(() => this._minimizedX = this._minimizedY = 0); } + @undoBatch @action createIcon = (selected: DocumentView[], layoutString: string): Doc => { let doc = selected[0].props.Document; let iconDoc = Docs.IconDocument(layoutString); |
