aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-09-08 13:43:02 -0400
committerbobzel <zzzman@gmail.com>2022-09-08 13:43:02 -0400
commit637dd4dd36a74e49c653aa6e265a0db41797de00 (patch)
tree21fa51395a30d309c43636350f4249e2be6612f8
parent0454279c9845fc64dc2c77aeb6bca9a5fee573f6 (diff)
made presbox slide changes undoable
-rw-r--r--src/client/views/nodes/trails/PresBox.tsx1
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();