Improved loading indicators. Added % loaded to viewports and thumbnails

This commit is contained in:
Erik Ziegler committed 2015-10-31 17:01:47 +01:00
1 parent eac9669aa4
commit 587999b8dd
13 files changed
+129 -40

No files matched your search

@@ -1,6 +1,15 @@
Template.thumbnails.helpers({
thumbnails: function() {
var stacks = createStacks(this);
return stacks;
}
thumbnails: function() {
var stacks = createStacks(this.study);
var studyIndex = this.studyIndex;
var array = [];
stacks.forEach(function(stack, index) {
array.push({
thumbnailIndex: index * (studyIndex + 1),
stack: stack
});
});
return array;
}
});