mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
feat: group elements into scene context menu item (no functionality)
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
|||||||
Eye,
|
Eye,
|
||||||
Volume2,
|
Volume2,
|
||||||
VolumeX,
|
VolumeX,
|
||||||
|
FolderPlus,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
import { useMediaStore } from "@/stores/media-store";
|
import { useMediaStore } from "@/stores/media-store";
|
||||||
import { useTimelineStore } from "@/stores/timeline-store";
|
import { useTimelineStore } from "@/stores/timeline-store";
|
||||||
@@ -372,6 +373,15 @@ export function TimelineElement({
|
|||||||
|
|
||||||
<ContextMenuSeparator />
|
<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
|
<ContextMenuItem
|
||||||
onClick={handleElementDeleteContext}
|
onClick={handleElementDeleteContext}
|
||||||
className="text-destructive focus:text-destructive"
|
className="text-destructive focus:text-destructive"
|
||||||
|
|||||||
Reference in New Issue
Block a user