summaryrefslogtreecommitdiff
path: root/apps/web/src
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-07-19 16:14:48 +0200
committerMaze Winther <mazewinther@gmail.com>2025-07-19 16:14:48 +0200
commit0d95f032cc03c70709e3b5d181e63e3f29983977 (patch)
tree8c015f1571d22a1931244b76b8585a5ad18f12f7 /apps/web/src
parenta9b704382958ca2dc63bd41063162d3e3277be3f (diff)
downloadopencut-0d95f032cc03c70709e3b5d181e63e3f29983977.tar.gz
fix: wrong logic on snapping button
Diffstat (limited to 'apps/web/src')
-rw-r--r--apps/web/src/components/editor/timeline.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/components/editor/timeline.tsx b/apps/web/src/components/editor/timeline.tsx
index 889c9f2c..b627325e 100644
--- a/apps/web/src/components/editor/timeline.tsx
+++ b/apps/web/src/components/editor/timeline.tsx
@@ -755,9 +755,9 @@ export function Timeline() {
<TooltipTrigger asChild>
<Button variant="text" size="icon" onClick={toggleSnapping}>
{snappingEnabled ? (
- <Lock className="h-4 w-4" />
- ) : (
<LockOpen className="h-4 w-4 text-primary" />
+ ) : (
+ <Lock className="h-4 w-4" />
)}
</Button>
</TooltipTrigger>