fix: wrong logic on snapping button

This commit is contained in:
Maze Winther 2025-07-19 16:14:48 +02:00
parent a9b7043829
commit 0d95f032cc
1 changed files with 2 additions and 2 deletions

View File

@ -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>