From 622830b6fd673688db938c64d20885d12d3afb28 Mon Sep 17 00:00:00 2001 From: Michael Foiani Date: Thu, 30 Jun 2022 17:00:10 -0400 Subject: small bug fixes for the ui of replaying the presentations from slides. can't get the video to autmoatically open from PresBox.tsx - an inifnite loop somewhere. --- src/client/views/nodes/trails/PresBox.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client/views/nodes/trails/PresBox.tsx') diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx index 9f858539f..7045d6d5d 100644 --- a/src/client/views/nodes/trails/PresBox.tsx +++ b/src/client/views/nodes/trails/PresBox.tsx @@ -30,6 +30,7 @@ import { FieldView, FieldViewProps } from '../FieldView'; import "./PresBox.scss"; import { PresEffect, PresMovement, PresStatus } from "./PresEnums"; import { ScriptingGlobals } from "../../../util/ScriptingGlobals"; +import { PresElementBox } from "."; export interface PinProps { audioRange?: boolean; @@ -221,6 +222,7 @@ export class PresBox extends ViewBoxBaseComponent() { // No more frames in current doc and next slide is defined, therefore move to next slide nextSlide = (activeNext: Doc) => { const targetNext = Cast(activeNext.presentationTargetDoc, Doc, null); + console.info('nextSlide', activeNext.title, targetNext?.title); let nextSelected = this.itemIndex + 1; this.gotoDocument(nextSelected, this.activeItem); for (nextSelected = nextSelected + 1; nextSelected < this.childDocs.length; nextSelected++) { -- cgit v1.2.3-70-g09d2