Styling fixes, add some other tools

This commit is contained in:
Erik Ziegler committed 2019-01-07 14:00:54 +01:00
1 parent 9f74adcb44
commit 0cbf15c46e
5 files changed
+52 -20

No files matched your search

+38 -17
View File
@@ -17,10 +17,10 @@ const store = createStore(combined);
const defaultButtons = [
{
command: 'Pan',
command: 'StackScroll',
type: 'tool',
text: 'Pan',
svgUrl: `${Icons}#icon-tools-pan`,
text: 'Stack Scroll',
svgUrl: `${Icons}#icon-tools-stack-scroll`,
active: false
},
{
@@ -30,6 +30,41 @@ const defaultButtons = [
svgUrl: `${Icons}#icon-tools-zoom`,
active: false
},
{
command: 'Wwwc',
type: 'tool',
text: 'Levels',
svgUrl: `${Icons}#icon-tools-levels`,
active: true
},
{
command: 'Pan',
type: 'tool',
text: 'Pan',
svgUrl: `${Icons}#icon-tools-pan`,
active: false
},
{
command: 'Length',
type: 'tool',
text: 'Length',
svgUrl: `${Icons}#icon-tools-measure-temp`,
active: false
},
/*{
command: 'Annotate',
type: 'tool',
text: 'Annotate',
svgUrl: `${Icons}#icon-tools-measure-non-target`,
active: false
},*/
{
command: 'Angle',
type: 'tool',
text: 'Angle',
iconClasses: 'fa fa-angle-left',
active: false
},
{
command: 'Bidirectional',
type: 'tool',
@@ -37,13 +72,6 @@ const defaultButtons = [
svgUrl: `${Icons}#icon-tools-measure-target`,
active: false
},
{
command: 'StackScroll',
type: 'tool',
text: 'Stack Scroll',
svgUrl: `${Icons}#icon-tools-stack-scroll`,
active: false
},
{
command: 'reset',
type: 'command',
@@ -51,13 +79,6 @@ const defaultButtons = [
svgUrl: `${Icons}#icon-tools-reset`,
active: false
},
{
command: 'Wwwc',
type: 'tool',
text: 'Manual',
svgUrl: `${Icons}#icon-tools-levels`,
active: true
},
];
store.dispatch({