Commit 3d423851 authored by Robin Tissot's avatar Robin Tissot
Browse files

Fixes the full size image not being loaded in the segmentation panel.

parent 2d47ef78
......@@ -145,10 +145,12 @@ const SegPanel = BasePanel.extend({
}
},
'fullsizeimage': function(n, o) {
// TODO/FIX: doesnt work anymore
// it was prefetched
// this.$img.src = this.imageSrc;
// this.segmenter.refresh();
if (n && n != o) {
this.$img.src = this.imageSrc;
this.segmenter.scale = 1;
this.segmenter.refresh();
}
}
},
methods: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment