diff --git a/src/app/editor/[id]/page.tsx b/src/app/editor/[id]/page.tsx index b24e219..a78a2cd 100644 --- a/src/app/editor/[id]/page.tsx +++ b/src/app/editor/[id]/page.tsx @@ -1272,7 +1272,7 @@ export default function Page() { return (
- {mode !== "replay" && ( + {mode !== "replay" ? ( <> + { + setLeftPanelWidth((prev) => clampNumber(prev + deltaX, 220, 520)); + }} + /> + + ) : ( + <> +
{ @@ -1391,7 +1401,7 @@ export default function Page() {
)} - {mode !== "replay" && ( + {mode !== "replay" ? ( <> + ) : ( + <> + { + setRightPanelWidth((prev) => clampNumber(prev - deltaX, 260, 720)); + }} + /> +
+ )}
);