feat: group elements into scene context menu item (no functionality)

This commit is contained in:
Maze Winther 2025-09-04 21:01:11 +02:00
parent 17b54d8b78
commit f800b17534
1 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import {
Eye,
Volume2,
VolumeX,
FolderPlus,
} from "lucide-react";
import { useMediaStore } from "@/stores/media-store";
import { useTimelineStore } from "@/stores/timeline-store";
@ -372,6 +373,15 @@ export function TimelineElement({
<ContextMenuSeparator />
<ContextMenuItem onClick={() => {}}>
<FolderPlus className="h-4 w-4 mr-2" />
{isMultipleSelected && isCurrentElementSelected
? `Group ${selectedElements.length} elements into scene`
: `Group into scene`}
</ContextMenuItem>
<ContextMenuSeparator />
<ContextMenuItem
onClick={handleElementDeleteContext}
className="text-destructive focus:text-destructive"