ohif-viewer/platform
Joe Boccanfuso d5ff590dfc
feat(DoubleClick): double click a viewport to one up and back (#3285)
* feat(DoubleClick): double click a viewport to one up and back

Added a toggleOneUp command that puts the active viewport into a 1x1 grid layout
and it toggles out of 'one-up' by restoring its saved 'toggleOneUpViewportGridStore'
from the StateSyncService.
Added double click customization for the Cornerstone extension with the
default double click handling being the toggleOneUp command.
Added a cypress test for the double click functionality.

* PR feedback:
- tracked viewport measurements no longer show as dashed when toggling one up
- disallowed double clicking near a measurement
- updated cornerstone3D dependencies to fix double click of TMTV and volume viewport 3D
- created ViewportGridService.getLayoutOptionsFromState

* Updated the ViewportGridService docs.

* Switched to using 'cornerstoneViewportClickCommands' and consistency with the context menu clicks.
2023-03-29 15:39:51 -04:00
..
cli feat: add more e2e tests for MPR and add test mode and extension (#3180) 2023-02-17 15:04:07 -05:00
core feat(DoubleClick): double click a viewport to one up and back (#3285) 2023-03-29 15:39:51 -04:00
docs feat(DoubleClick): double click a viewport to one up and back (#3285) 2023-03-29 15:39:51 -04:00
i18n feat(ViewportActionBar and CinePlayer): Add new design for action bar and cine player (#3204) 2023-02-28 15:57:19 -05:00
ui feat(DoubleClick): double click a viewport to one up and back (#3285) 2023-03-29 15:39:51 -04:00
viewer feat(DoubleClick): double click a viewport to one up and back (#3285) 2023-03-29 15:39:51 -04:00