fix(new layout): address black screen bugs (#4008)

This commit is contained in:
Alireza authored and GitHub committed 2024-03-28 16:45:11 -04:00
1 parent aac3546bed
commit 158a181670
19 files changed
+100 -120

No files matched your search

+2 -14
View File
@@ -179,15 +179,7 @@ const toolbarButtons: Button[] = [
type: 'tool',
icon: 'tool-3d-rotate',
label: '3D Rotate',
commands: [
{
commandName: 'setToolActive',
commandOptions: {
toolName: 'TrackBallRotate',
},
context: 'CORNERSTONE',
},
],
commands: setToolActiveToolbar,
},
},
{
@@ -196,11 +188,7 @@ const toolbarButtons: Button[] = [
props: {
icon: 'tool-capture',
label: 'Capture',
commands: [
{
commandName: 'showDownloadViewportModal',
},
],
commands: 'showDownloadViewportModal',
evaluate: 'evaluate.action',
},
},
+1 -10
View File
@@ -169,11 +169,7 @@ const toolbarButtons: Button[] = [
props: {
icon: 'tool-capture',
label: 'Capture',
commands: [
{
commandName: 'showDownloadViewportModal',
},
],
commands: 'showDownloadViewportModal',
evaluate: 'evaluate.action',
},
},
@@ -184,11 +180,6 @@ const toolbarButtons: Button[] = [
rows: 3,
columns: 4,
evaluate: 'evaluate.action',
commands: [
{
commandName: 'setViewportGridLayout',
},
],
},
},
{