feat: group elements into scene context menu item (no functionality)
This commit is contained in:
parent
17b54d8b78
commit
f800b17534
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue