LT-301: Replace Rotate functionality to Rotate Left and Rotate Right
This commit is contained in:
1 parent
3c831c5d5a
commit
debc294f33
4 files changed
+24
-5
No files matched your search
@@ -129,10 +129,17 @@ Template.toolbarSection.helpers({
|
||||
});
|
||||
|
||||
buttonData.push({
|
||||
id: 'rotate',
|
||||
title: 'Rotate',
|
||||
classes: 'imageViewerTool toolbarSectionButton',
|
||||
svgLink: '/packages/ohif_viewerbase/assets/icons.svg#icon-tools-rotate'
|
||||
id: 'rotateL',
|
||||
title: 'Rotate Left',
|
||||
classes: 'imageViewerCommand toolbarSectionButton',
|
||||
svgLink: '/packages/ohif_viewerbase/assets/icons.svg#icon-tools-rotate-left'
|
||||
});
|
||||
|
||||
buttonData.push({
|
||||
id: 'rotateR',
|
||||
title: 'Rotate Right',
|
||||
classes: 'imageViewerCommand toolbarSectionButton',
|
||||
svgLink: '/packages/ohif_viewerbase/assets/icons.svg#icon-tools-rotate-right'
|
||||
});
|
||||
|
||||
buttonData.push({
|
||||
|
||||
@@ -34,7 +34,9 @@ Template.viewer.onCreated(() => {
|
||||
resetViewport,
|
||||
invert,
|
||||
flipV,
|
||||
flipH
|
||||
flipH,
|
||||
rotateL,
|
||||
rotateR
|
||||
});
|
||||
|
||||
if (ViewerData[contentId].loadedSeriesData) {
|
||||
|
||||
Reference in new issue
Block a user