diff Applications/StoneWebViewer/WebApplication/index.html @ 1949:d3ae6858e77b

more consistent handling of numberOfFrames
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 15 Jul 2022 16:19:18 +0200
parents b8f54ab47b3b
children 6ffd65cfd2ee 142c7ee8fe1f
line wrap: on
line diff
--- a/Applications/StoneWebViewer/WebApplication/index.html	Fri Jul 15 16:17:23 2022 +0200
+++ b/Applications/StoneWebViewer/WebApplication/index.html	Fri Jul 15 16:19:18 2022 +0200
@@ -704,7 +704,7 @@
                         </button>
                       </div>
                       <span data-toggle="tooltip" data-title="Current frame number">
-                        &nbsp;&nbsp;{{ currentFrame }} / {{ numberOfFrames }}&nbsp;&nbsp;
+                        &nbsp;&nbsp;{{ currentFrame + 1 }} / {{ numberOfFrames }}&nbsp;&nbsp;
                       </span>
                       <div class="btn-group btn-group-sm" role="group">                        
                         <button class="btn btn-primary" @click="IncrementFrame()">