Fixing thumbnails layout and rendering
This commit is contained in:
parent
05b2aa3e15
commit
ed0bde0404
@ -46,7 +46,7 @@ Template.imageThumbnail.onRendered(() => {
|
||||
cornerstone.disable(element);
|
||||
|
||||
// Enable cornerstone for thumbnail element again creating a new canvas
|
||||
cornerstone.enable(element, { renderer: OHIF.cornerstone.renderer });
|
||||
cornerstone.enable(element, { renderer: '' });
|
||||
|
||||
// Activate the loading state
|
||||
$loading.css('display', 'block');
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
<div class="study-switch rp-t-1 rp-x-1">
|
||||
<div class="title-label">Study</div>
|
||||
<div class="study-box r-font">
|
||||
{{#scrollArea class='study-browser'}}
|
||||
{{#scrollArea class='study-browser' scrollStep=91}}
|
||||
{{>Template.dynamic template=studyBrowserTemplate data=(clone this currentStudy=instance.currentStudy)}}
|
||||
{{/scrollArea}}
|
||||
</div>
|
||||
|
||||
@ -103,7 +103,7 @@ Template.seriesQuickSwitch.events({
|
||||
const $switch = $(event.currentTarget);
|
||||
const browserWidth = $switch.offset().left + $switch.outerWidth();
|
||||
const $seriesBrowser = $switch.find('.series-browser');
|
||||
$seriesBrowser.width(browserWidth);
|
||||
$seriesBrowser.width(browserWidth - (browserWidth % 237));
|
||||
|
||||
instance.$('.series-quick-switch').addClass('series-triggered');
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user