feat(panels): responsive thumbnails based on panel size (#4723)
This commit is contained in:
1 parent
9d07705a1f
commit
d9abc3da8d
15 files changed
+282
-176
No files matched your search
@@ -141,7 +141,9 @@ function modeFactory({ modeConfiguration }) {
|
||||
props: {
|
||||
// TODO: Should be optional, or required to pass empty array for slots?
|
||||
leftPanels: [ohif.thumbnailList],
|
||||
leftPanelResizable: true,
|
||||
rightPanels: [ohif.measurements],
|
||||
rightPanelResizable: true,
|
||||
viewports: [
|
||||
{
|
||||
namespace: cs3d.viewport,
|
||||
|
||||
@@ -150,8 +150,10 @@ function modeFactory() {
|
||||
// leftPanels: [ohif.thumbnailList],
|
||||
// rightPanels: [dicomSeg.panel, ohif.measurements],
|
||||
leftPanels: [tracked.thumbnailList],
|
||||
leftPanelResizable: true,
|
||||
// Can use cornerstone.measurements for all measurements
|
||||
rightPanels: [cornerstone.panel, tracked.measurements, cornerstone.measurements],
|
||||
rightPanelResizable: true,
|
||||
// rightPanelClosed: true, // optional prop to start with collapse panels
|
||||
viewports: [
|
||||
{
|
||||
|
||||
@@ -87,9 +87,11 @@ function modeFactory({ modeConfiguration }) {
|
||||
id: ohif.layout,
|
||||
props: {
|
||||
leftPanels: [ohif.leftPanel],
|
||||
leftPanelResizable: true,
|
||||
leftPanelClosed: true, // we have problem with rendering thumbnails for microscopy images
|
||||
rightPanelClosed: true, // we do not have the save microscopy measurements yet
|
||||
rightPanels: ['@ohif/extension-dicom-microscopy.panelModule.measure'],
|
||||
rightPanelResizable: true,
|
||||
viewports: [
|
||||
{
|
||||
namespace: '@ohif/extension-dicom-microscopy.viewportModule.microscopy-dicom',
|
||||
|
||||
@@ -158,7 +158,9 @@ function modeFactory({ modeConfiguration }) {
|
||||
id: ohif.layout,
|
||||
props: {
|
||||
leftPanels: [[dynamicVolume.leftPanel, cornerstone.activeViewportWindowLevel]],
|
||||
leftPanelResizable: true,
|
||||
rightPanels: [],
|
||||
rightPanelResizable: true,
|
||||
rightPanelClosed: true,
|
||||
viewports: [
|
||||
{
|
||||
|
||||
@@ -132,7 +132,9 @@ function modeFactory({ modeConfiguration }) {
|
||||
id: ohif.layout,
|
||||
props: {
|
||||
leftPanels: [ohif.leftPanel],
|
||||
leftPanelResizable: true,
|
||||
rightPanels: [cornerstone.panelTool],
|
||||
rightPanelResizable: true,
|
||||
// leftPanelClosed: true,
|
||||
viewports: [
|
||||
{
|
||||
|
||||
@@ -215,8 +215,10 @@ function modeFactory({ modeConfiguration }) {
|
||||
id: ohif.layout,
|
||||
props: {
|
||||
leftPanels: [ohif.thumbnailList],
|
||||
leftPanelResizable: true,
|
||||
leftPanelClosed: true,
|
||||
rightPanels: [tmtv.tmtv, tmtv.petSUV],
|
||||
rightPanelResizable: true,
|
||||
viewports: [
|
||||
{
|
||||
namespace: cs3d.viewport,
|
||||
|
||||
Reference in new issue
Block a user