Context specific commands
This commit is contained in:
1 parent
cf65e3a690
commit
46904ea39f
2 files changed
+8
-3
No files matched your search
@@ -182,5 +182,6 @@ function _getActiveViewportEnabledElement(viewports, activeIndex) {
|
||||
|
||||
export default {
|
||||
actions,
|
||||
definitions
|
||||
definitions,
|
||||
defaultContext: 'ACTIVE_VIEWPORT::CORNERSTONE'
|
||||
};
|
||||
@@ -263,8 +263,12 @@ const definitions = {
|
||||
mpr2d: {
|
||||
commandFn: actions.mpr2d,
|
||||
storeContexts: ['viewports'],
|
||||
options: {}
|
||||
options: {},
|
||||
context: 'VIEWER'
|
||||
}
|
||||
};
|
||||
|
||||
export { definitions };
|
||||
export default {
|
||||
definitions,
|
||||
defaultContext: 'ACTIVE_VIEWPORT::VTK'
|
||||
};
|
||||
Reference in new issue
Block a user