diff options
| author | bobzel <zzzman@gmail.com> | 2022-09-08 13:43:02 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-09-08 13:43:02 -0400 |
| commit | 637dd4dd36a74e49c653aa6e265a0db41797de00 (patch) | |
| tree | 21fa51395a30d309c43636350f4249e2be6612f8 /src/client/views/nodes/trails/PresBox.tsx | |
| parent | 0454279c9845fc64dc2c77aeb6bca9a5fee573f6 (diff) | |
made presbox slide changes undoable
Diffstat (limited to 'src/client/views/nodes/trails/PresBox.tsx')
| -rw-r--r-- | src/client/views/nodes/trails/PresBox.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx index beebca973..847617378 100644 --- a/src/client/views/nodes/trails/PresBox.tsx +++ b/src/client/views/nodes/trails/PresBox.tsx @@ -312,6 +312,7 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps>() { //The function that is called when a document is clicked or reached through next or back. //it'll also execute the necessary actions if presentation is playing. + @undoBatch public gotoDocument = action((index: number, from?: Doc, group?: boolean) => { Doc.UnBrushAllDocs(); |
