OHIF-122: Remove hover state in disabled buttons and fix Next/Previous disabled state when layout viewport changes
This commit is contained in:
1 parent
ca1ed4fb0a
commit
37d12970ab
5 files changed
+41
-18
No files matched your search
@@ -9,6 +9,9 @@ setActiveViewport = function(element) {
|
||||
// with the viewport index that it was fired from.
|
||||
Session.set('activeViewport', viewportIndex);
|
||||
|
||||
// Update the Session variable to the UI re-renders
|
||||
Session.set('LayoutManagerUpdated', Random.id());
|
||||
|
||||
// Add the 'active' class to the parent container to highlight the active viewport
|
||||
$('#imageViewerViewports .viewportContainer').removeClass('active');
|
||||
$(element).parents('.viewportContainer').addClass('active');
|
||||
|
||||
Reference in new issue
Block a user