summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-07-12 11:52:54 +0200
committerMaze Winther <mazewinther@gmail.com>2025-07-12 11:52:54 +0200
commit0726c27221c5b3aa9a8442b0cf89bd6acd8dfb5a (patch)
treed5d49a2d4cef3755707caab40f1b9d81102a0adb
parent2de4c7c153056984f053261d7a1e9b33f9468fa8 (diff)
downloadopencut-0726c27221c5b3aa9a8442b0cf89bd6acd8dfb5a.tar.gz
small change
-rw-r--r--apps/web/src/components/background-settings.tsx4
-rw-r--r--apps/web/src/components/editor/preview-panel.tsx11
-rw-r--r--apps/web/src/components/editor/timeline.tsx2
3 files changed, 11 insertions, 6 deletions
diff --git a/apps/web/src/components/background-settings.tsx b/apps/web/src/components/background-settings.tsx
index bcefac1c..721564ea 100644
--- a/apps/web/src/components/background-settings.tsx
+++ b/apps/web/src/components/background-settings.tsx
@@ -40,9 +40,9 @@ export function BackgroundSettings() {
<Button
variant="text"
size="icon"
- className="!size-5 border border-muted-foreground"
+ className="!size-4 border border-muted-foreground"
>
- <BackgroundIcon className="!size-4" />
+ <BackgroundIcon className="!size-3" />
</Button>
</PopoverTrigger>
<PopoverContent className="flex flex-col items-start w-[20rem] h-[16rem] overflow-hidden p-0">
diff --git a/apps/web/src/components/editor/preview-panel.tsx b/apps/web/src/components/editor/preview-panel.tsx
index 2f76af5a..5003e79b 100644
--- a/apps/web/src/components/editor/preview-panel.tsx
+++ b/apps/web/src/components/editor/preview-panel.tsx
@@ -16,7 +16,7 @@ import {
DropdownMenuTrigger,
DropdownMenuSeparator,
} from "@/components/ui/dropdown-menu";
-import { Play, Pause } from "lucide-react";
+import { Play, Pause, Expand } from "lucide-react";
import { useState, useRef, useEffect } from "react";
import { cn } from "@/lib/utils";
import { formatTimeCode } from "@/lib/time";
@@ -447,7 +447,7 @@ function PreviewToolbar({ hasAnyElements }: { hasAnyElements: boolean }) {
<DropdownMenuTrigger asChild>
<Button
size="sm"
- className="!bg-panel-accent text-foreground/85 text-[0.75rem] h-auto rounded-none border border-muted-foreground px-0.5 py-0 font-light"
+ className="!bg-panel-accent text-foreground/85 text-[0.70rem] h-4 rounded-none border border-muted-foreground px-0.5 py-0 font-light"
disabled={!hasAnyElements}
>
{getDisplayName()}
@@ -475,6 +475,13 @@ function PreviewToolbar({ hasAnyElements }: { hasAnyElements: boolean }) {
))}
</DropdownMenuContent>
</DropdownMenu>
+ <Button
+ variant="text"
+ size="icon"
+ className="!size-4 text-muted-foreground"
+ >
+ <Expand className="!size-4" />
+ </Button>
</div>
</div>
);
diff --git a/apps/web/src/components/editor/timeline.tsx b/apps/web/src/components/editor/timeline.tsx
index cc4cc57c..4fee16fc 100644
--- a/apps/web/src/components/editor/timeline.tsx
+++ b/apps/web/src/components/editor/timeline.tsx
@@ -88,8 +88,6 @@ export function Timeline() {
setDuration,
isPlaying,
toggle,
- setSpeed,
- speed,
} = usePlaybackStore();
const [isDragOver, setIsDragOver] = useState(false);
const [isProcessing, setIsProcessing] = useState(false);