diff --git a/frontend/apps/editor3d/app/src/pages/PageEnigma/PageEditor.tsx b/frontend/apps/editor3d/app/src/pages/PageEnigma/PageEditor.tsx index e9203455d8..8bbc1c765a 100644 --- a/frontend/apps/editor3d/app/src/pages/PageEnigma/PageEditor.tsx +++ b/frontend/apps/editor3d/app/src/pages/PageEnigma/PageEditor.tsx @@ -251,9 +251,12 @@ export const PageEditor = () => { }); }; + const display3d = appTabId.value === "3D" ? "block" : "none"; + const display2d = appTabId.value === "2D" ? "block" : "none"; + const ContentFor2D = () => { return ( - + ); @@ -267,104 +270,101 @@ export const PageEditor = () => { setAppTabId={setAppTabId} is3DInitSignal={is3DEditorInitialized} /> - - {appTabId.value === "3D" ? ( - <> - + <> + +
+ {/* Engine section/side panel */}
- {/* Engine section/side panel */} -
-
- - - - +
+ + + + - {/* Focal Length Display */} - + {/* Focal Length Display */} + - {/* Pose Mode Selector */} - + {/* Pose Mode Selector */} + - {/* Top controls */} -
-
- - -
+ {/* Top controls */} +
+
+ +
- - {/* Bottom controls */} -
-
- - -
- - -
- - { - if (!editorEngine) { - return; - } - - editorEngine!.positive_prompt = prompt; - }} - snapshotCurrentFrame={editorEngine?.snapShotOfCurrentFrame} - /> - -
+ + {/* Bottom controls */} +
+
+ + +
+ + +
+ + { + if (!editorEngine) { + return; + } + + editorEngine!.positive_prompt = prompt; + }} + snapshotCurrentFrame={editorEngine?.snapShotOfCurrentFrame} + /> + +
- - ) : ( - - )} +
+ + + { }}