fix: 🐛 set tools bidirectional, eraser and annotate command (#1020)
annotate, bidirectional and eraser had types as command but they should be typed as setToolActive Closes: 981
This commit is contained in:
1 parent
95e5e11d09
commit
a28984ef1f
1 file changed
+3
-3
@@ -74,7 +74,7 @@ const definitions = [
|
|||||||
label: 'Annotate',
|
label: 'Annotate',
|
||||||
icon: 'measure-non-target',
|
icon: 'measure-non-target',
|
||||||
//
|
//
|
||||||
type: TOOLBAR_BUTTON_TYPES.COMMAND,
|
type: TOOLBAR_BUTTON_TYPES.SET_TOOL_ACTIVE,
|
||||||
commandName: 'setToolActive',
|
commandName: 'setToolActive',
|
||||||
commandOptions: { toolName: 'ArrowAnnotate' },
|
commandOptions: { toolName: 'ArrowAnnotate' },
|
||||||
},
|
},
|
||||||
@@ -200,7 +200,7 @@ const definitions = [
|
|||||||
label: 'Bidirectional',
|
label: 'Bidirectional',
|
||||||
icon: 'measure-target',
|
icon: 'measure-target',
|
||||||
//
|
//
|
||||||
type: TOOLBAR_BUTTON_TYPES.COMMAND,
|
type: TOOLBAR_BUTTON_TYPES.SET_TOOL_ACTIVE,
|
||||||
commandName: 'setToolActive',
|
commandName: 'setToolActive',
|
||||||
commandOptions: { toolName: 'Bidirectional' },
|
commandOptions: { toolName: 'Bidirectional' },
|
||||||
},
|
},
|
||||||
@@ -209,7 +209,7 @@ const definitions = [
|
|||||||
label: 'Eraser',
|
label: 'Eraser',
|
||||||
icon: 'eraser',
|
icon: 'eraser',
|
||||||
//
|
//
|
||||||
type: TOOLBAR_BUTTON_TYPES.COMMAND,
|
type: TOOLBAR_BUTTON_TYPES.SET_TOOL_ACTIVE,
|
||||||
commandName: 'setToolActive',
|
commandName: 'setToolActive',
|
||||||
commandOptions: { toolName: 'Eraser' },
|
commandOptions: { toolName: 'Eraser' },
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user