diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-19 16:14:48 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-19 16:14:48 +0200 |
| commit | 0d95f032cc03c70709e3b5d181e63e3f29983977 (patch) | |
| tree | 8c015f1571d22a1931244b76b8585a5ad18f12f7 /apps | |
| parent | a9b704382958ca2dc63bd41063162d3e3277be3f (diff) | |
| download | opencut-0d95f032cc03c70709e3b5d181e63e3f29983977.tar.gz | |
fix: wrong logic on snapping button
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/web/src/components/editor/timeline.tsx | 4 |
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>
|
