OHIF-151 Fix issue with next and prev buttons in the toolbar and cine dialog

This commit is contained in:
Evren Ozkan committed 2017-02-01 17:24:44 -05:00
1 parent d43fec0147
commit dff42c0360
2 files changed
+3 -3

No files matched your search

@@ -63,8 +63,8 @@ Template.cineDialog.onCreated(() => {
// Define the actions API
instance.api = {
displaySetPrevious: () => OHIF.viewer.moveDisplaySets(false),
displaySetNext: () => OHIF.viewer.moveDisplaySets(true),
displaySetPrevious: () => OHIF.viewerbase.layoutManager.moveDisplaySets(false),
displaySetNext: () => OHIF.viewerbase.layoutManager.moveDisplaySets(true),
cineToggle: () => viewportUtils.toggleCinePlay(),
cineFirst: () => switchToImageByIndex(0),
cineLast: () => switchToImageByIndex(-1),