Skip to content

Commit f90465d

Browse files
committed
Restructured project
1 parent 7f873f4 commit f90465d

File tree

15 files changed

+16
-16
lines changed

15 files changed

+16
-16
lines changed

src/Components/Editor/Editor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import { SizeGuard } from '@elements/SizeGuard';
66

77
import { Canvas } from './Canvas';
88
import { ContextComponent } from './Context';
9-
import { SidePanel } from './SidePanel';
9+
import { SidePanel } from './SidePanel/SidePanel';
1010
import { ProcessingScreen } from './Utils/Processing';
1111
import { SpashScreen } from './Utils/Splash';
12-
import { ViewControls } from './ViewControls';
12+
import { ViewControls } from './ViewControls/ViewControls';
1313

1414
export function ModelEditor() {
1515
return (

src/Components/Editor/SidePanel/Actions.tsx renamed to src/Components/Editor/SidePanel/Actions/Actions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { ModelData } from '@utils/types';
66

77
import { EditorContext } from '@components/Editor/Context';
88

9-
import { ImportDialog } from './Actions/ImportDialog';
10-
import { Vitals } from './Actions/Vitals';
9+
import { ImportDialog } from './ImportDialog';
10+
import { Vitals } from './Vitals';
1111

1212
export function ActionMenu() {
1313
const ctx = React.useContext(EditorContext);

src/Components/Editor/SidePanel/ModelList.tsx renamed to src/Components/Editor/SidePanel/ModelList/ModelList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import React from 'react';
22

33
import { EmptyDataPanel } from '@elements/Empty';
44

5-
import { EditorContext } from '../Context';
6-
import { ModelPanel } from './ModelList/ModelPanel';
5+
import { EditorContext } from '../../Context';
6+
import { ModelPanel } from './ModelPanel';
77

88
export function ModelList() {
99
const ctx = React.useContext(EditorContext);
File renamed without changes.

src/Components/Editor/SidePanel/Details/ModelDetail.tsx renamed to src/Components/Editor/SidePanel/PanelTransform/ModelTransform.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { SnapVerticesWidget } from './Widgets/SnapVertices';
99
import { SplitModelWidget } from './Widgets/SplitModel';
1010
import { ModelTransformationWidget } from './Widgets/Transformation';
1111

12-
export function ModelDetailPanel() {
12+
export function ModelTransformPanel() {
1313
const ctx = React.useContext(EditorContext);
1414
if (!ctx) return null;
1515
const { scene, renderer, selectedModel, selection } = ctx;

src/Components/Editor/SidePanel/Details/Widgets/DeleteModel.tsx renamed to src/Components/Editor/SidePanel/PanelTransform/Widgets/DeleteModel.tsx

File renamed without changes.

src/Components/Editor/SidePanel/Details/Widgets/SnapVertices.tsx renamed to src/Components/Editor/SidePanel/PanelTransform/Widgets/SnapVertices.tsx

File renamed without changes.

src/Components/Editor/SidePanel/Details/Widgets/SplitModel.tsx renamed to src/Components/Editor/SidePanel/PanelTransform/Widgets/SplitModel.tsx

File renamed without changes.

src/Components/Editor/SidePanel/Details/Widgets/Transformation.tsx renamed to src/Components/Editor/SidePanel/PanelTransform/Widgets/Transformation.tsx

File renamed without changes.

src/Components/Editor/SidePanel/ViewSettings/ViewSettings.tsx renamed to src/Components/Editor/SidePanel/PanelViewSettings/ViewSettings.tsx

File renamed without changes.

0 commit comments

Comments
 (0)