From 92ea94585d350cc9560bb8fd787444d29a05043c Mon Sep 17 00:00:00 2001
From: Bob Zeleznik <zzzman@gmail.com>
Date: Sun, 17 May 2020 22:49:15 -0400
Subject: fixed presbox bug for showing element numbers.  fixed progressivize

---
 src/client/views/presentationview/PresElementBox.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/views/presentationview/PresElementBox.tsx')

diff --git a/src/client/views/presentationview/PresElementBox.tsx b/src/client/views/presentationview/PresElementBox.tsx
index 0ce40f116..a2a6882b9 100644
--- a/src/client/views/presentationview/PresElementBox.tsx
+++ b/src/client/views/presentationview/PresElementBox.tsx
@@ -105,7 +105,7 @@ export class PresElementBox extends ViewBoxBaseComponent<FieldViewProps, PresDoc
             rootTarget.currentTimecode = 0;
             CollectionFreeFormDocumentView.setupKeyframes(docs, docs.length, this.presBox);
             docs.forEach((d, i) => numberRange(docs.length - i).forEach(f => Cast(d["opacity-indexed"], listSpec("number"), [])[f + i] = 1));
-            rootTarget.lastTimecode = docs.length;
+            rootTarget.lastTimecode = docs.length - 1;
         }
     }
 
-- 
cgit v1.2.3-70-g09d2

