Пример #1
0
 m: () => {
   // rotate allowed modes
   const currentViewMode = Store.getState().temporaryConfiguration.viewMode;
   const allowedModes = Store.getState().tracing.restrictions.allowedModes;
   const index = (allowedModes.indexOf(currentViewMode) + 1) % allowedModes.length;
   Store.dispatch(setViewModeAction(allowedModes[index]));
 },
Пример #2
0
 "shift + 3": () => Store.dispatch(setViewModeAction(constants.MODE_ARBITRARY_PLANE)),
Пример #3
0
 "shift + 1": () => Store.dispatch(setViewModeAction(constants.MODE_PLANE_TRACING)),