Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

refactor(editor): use kebab-case for the 3D panel filename

Richie McIlroyfe1cb8cc3f55
diff --git a/apps/desktop/src/routes/editor/ConfigSidebar.tsx b/apps/desktop/src/routes/editor/ConfigSidebar.tsx
index 9f0a40d45..8d1e86159 100644
--- a/apps/desktop/src/routes/editor/ConfigSidebar.tsx
+++ b/apps/desktop/src/routes/editor/ConfigSidebar.tsx
@@ -131,10 +131,10 @@ import {
} from "./projectConfig";
import ShadowSettings from "./ShadowSettings";
import { StyleGroupToggle, StyleSegmentConfig } from "./style-segment-config";
-import { Camera3DShotPanel, camera3DShotSummary } from "./ThreeDPanel";
import type { TextSegment } from "./text";
import { TextSegmentConfig } from "./text-segment-config";
import type { Camera3DSegment } from "./three-d";
+import { Camera3DShotPanel, camera3DShotSummary } from "./three-d-panel";
import { heldTimeBefore, holdWindows } from "./timeline-holds";
import {
ComingSoonTooltip,
diff --git a/apps/desktop/src/routes/editor/Timeline/ThreeDTrack.tsx b/apps/desktop/src/routes/editor/Timeline/ThreeDTrack.tsx
index d1ad2f2ce..6f05ecdb5 100644
--- a/apps/desktop/src/routes/editor/Timeline/ThreeDTrack.tsx
+++ b/apps/desktop/src/routes/editor/Timeline/ThreeDTrack.tsx
@@ -13,7 +13,6 @@ import {
} from "solid-js";
import { produce } from "solid-js/store";
import { useEditorContext } from "../context";
-import { ShotCountPills } from "../ThreeDPanel";
import {
camera3DShotLabel,
DEFAULT_CAMERA3D_SHOT_DURATION,
@@ -22,6 +21,7 @@ import {
maxAutoCamera3DShots,
placeCamera3DShot,
} from "../three-d";
+import { ShotCountPills } from "../three-d-panel";
import { useTimelineContext, useTrackContext } from "./context";
import {
SegmentContent,
diff --git a/apps/desktop/src/routes/editor/ThreeDPanel.tsx b/apps/desktop/src/routes/editor/three-d-panel.tsx
similarity index 100%
rename from apps/desktop/src/routes/editor/ThreeDPanel.tsx
rename to apps/desktop/src/routes/editor/three-d-panel.tsx