diff options
Diffstat (limited to 'src/client/views')
| -rw-r--r-- | src/client/views/nodes/PresBox.tsx | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/client/views/nodes/PresBox.tsx b/src/client/views/nodes/PresBox.tsx index 3c40b61f3..f98f9840a 100644 --- a/src/client/views/nodes/PresBox.tsx +++ b/src/client/views/nodes/PresBox.tsx @@ -482,7 +482,8 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps, PresBoxSchema>      //stops the presentaton.      resetPresentation = () => {          this.rootDoc._itemIndex = 0; -        for (const doc of this.childDocs) Cast(doc.presentationTargetDoc, Doc, null).opacity = 1; +        this.childDocs.map(doc => Cast(doc.presentationTargetDoc, Doc, null)).filter(doc => doc).forEach(doc => doc.opacity = 1); +        ///for (const doc of this.childDocs) Cast(doc.presentationTargetDoc, Doc, null).opacity = 1;      }      @action togglePath = (srcContext: Doc, off?: boolean) => { | 
