Added reset viewport and clear tools buttons to toolbar

This commit is contained in:
Erik Ziegler committed 2015-11-06 18:24:53 +01:00
1 parent 1d025623e5
commit 4c4fb73fdc
4 files changed
+32

No files matched your search

@@ -70,6 +70,20 @@ function getDefaultButtonData() {
classes: 'imageViewerTool',
iconClasses: 'fa fa-square-o'
});
buttonData.push({
id: 'resetViewport',
title: 'Reset Viewport',
classes: 'imageViewerCommand',
iconClasses: 'fa fa-undo'
});
buttonData.push({
id: 'clearTools',
title: 'Clear tools',
classes: 'imageViewerCommand',
iconClasses: 'fa fa-trash'
});
return buttonData;
}