Make imageSlider range input use reactive variables instead of updating it manually. Add min/max zoom levels, remove unnecessary precision for Zoom

This commit is contained in:
Erik Ziegler committed 2016-08-14 13:03:10 +02:00
1 parent 5763abf29b
commit 87cc2a5bc0
8 files changed
+43 -66

No files matched your search

@@ -219,9 +219,6 @@ Template.viewportOverlay.helpers({
imageIndex: function() {
return getInstance.call(this, 'index');
},
numImages: function() {
return getSeries.call(this, 'numImages');
},
imageIndex: function() {
Session.get('CornerstoneNewImage' + this.viewportIndex);
var stack = getStackDataIfNotEmpty(this.viewportIndex);