OHIF-33: Adding thumbnailRendering config

This commit is contained in:
Leonardo Campos committed 2017-03-15 15:40:33 -03:00
1 parent fe6a1a9884
commit 1798a87d3f
6 files changed
+54 -17

No files matched your search

@@ -88,10 +88,10 @@ export class OHIFInstanceMetadata extends InstanceMetadata {
}
// Override
getImageId(frame) {
getImageId(frame, thumbnail) {
// If _imageID is not cached, create it
if (this._imageId === null) {
this._imageId = Viewerbase.getImageId(this.getData(), frame);
this._imageId = Viewerbase.getImageId(this.getData(), frame, thumbnail);
}
return this._imageId;