Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/WebApplication/app.js @ 1967:b180233143ae
Added vertical slider showing position of the current frame inside the series
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 28 Oct 2022 10:38:30 +0200 |
parents | 889892e51545 |
children | ed5a0b9183dc |
comparison
equal
deleted
inserted
replaced
1966:a5f0b395d4df | 1967:b180233143ae |
---|---|
156 contentTime: '', | 156 contentTime: '', |
157 } | 157 } |
158 }, | 158 }, |
159 watch: { | 159 watch: { |
160 currentFrame: function(newVal, oldVal) { | 160 currentFrame: function(newVal, oldVal) { |
161 /** | 161 if (this.cineLoadingFrame) { |
162 * The "FrameUpdated" event has been received, which indicates | 162 /** |
163 * that the schedule frame has been displayed: The cine loop can | 163 * The "FrameUpdated" event has been received, which indicates |
164 * proceed to the next frame (check out "CineCallback()"). | 164 * that the schedule frame has been displayed: The cine loop can |
165 **/ | 165 * proceed to the next frame (check out "CineCallback()"). |
166 this.cineLoadingFrame = false; | 166 **/ |
167 this.cineLoadingFrame = false; | |
168 } else { | |
169 stone.SetFrame(this.canvasId, newVal); | |
170 } | |
167 }, | 171 }, |
168 content: function(newVal, oldVal) { | 172 content: function(newVal, oldVal) { |
169 this.status = 'loading'; | 173 this.status = 'loading'; |
170 this.cineControls = false; | 174 this.cineControls = false; |
171 this.cineMode = ''; | 175 this.cineMode = ''; |