diff options
| author | bobzel <zzzman@gmail.com> | 2024-04-12 13:51:07 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-04-12 13:51:07 -0400 |
| commit | a6577f0c085d206db11e491bd4a1e4bae70e0ee6 (patch) | |
| tree | 4f66a45b8c434a8f2a0c5eb604cf6b77b4f9be69 /src/client/views/nodes/trails/PresElementBox.tsx | |
| parent | 53fbe74037f03456a678d592d0ae5660c2f0d55e (diff) | |
fixed auto play for trails. fixed presbox to allow drag and drop in addition to pin button. fixed tree view to not 'move' items that have a 'copy' drop action. fixed dragPreDrop functions in tree and stacking views to use source drag action over target drop action.
Diffstat (limited to 'src/client/views/nodes/trails/PresElementBox.tsx')
| -rw-r--r-- | src/client/views/nodes/trails/PresElementBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/trails/PresElementBox.tsx b/src/client/views/nodes/trails/PresElementBox.tsx index 5b2aa1cde..28139eb14 100644 --- a/src/client/views/nodes/trails/PresElementBox.tsx +++ b/src/client/views/nodes/trails/PresElementBox.tsx @@ -61,7 +61,7 @@ export class PresElementBox extends ViewBoxBaseComponent<FieldViewProps>() { // Since this node is being rendered with a template, this method retrieves // the actual slide being rendered from the auto-generated rendering template @computed get slideDoc() { - return this._props.TemplateDataDocument ?? this.Document; + return DocCast(this.Document.rootDocument, this.Document); } // this is the document in the workspaces that is targeted by the slide |
