File tree Expand file tree Collapse file tree
apps/web/src/components/editor/panels/properties Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { ScrollArea } from "@/components/ui/scroll-area";
55import { AudioProperties } from "./audio-properties" ;
66import { VideoProperties } from "./video-properties" ;
77import { TextProperties } from "./text-properties" ;
8+ import { StickerProperties } from "./sticker-properties" ;
89import { EmptyView } from "./empty-view" ;
910import { useEditor } from "@/hooks/use-editor" ;
1011import { useElementSelection } from "@/hooks/timeline/element/use-element-selection" ;
@@ -68,15 +69,24 @@ export function PropertiesPanel() {
6869 trackId = { grouped . image [ 0 ] . track . id }
6970 />
7071 ) }
71- { grouped . audio && grouped . audio . length > 0 && (
72- < AudioProperties
73- _element = {
74- grouped . audio [ 0 ]
75- . element as import ( "@/types/timeline" ) . AudioElement
76- }
77- trackId = { grouped . audio [ 0 ] . track . id }
78- />
79- ) }
72+ { grouped . audio && grouped . audio . length > 0 && (
73+ < AudioProperties
74+ _element = {
75+ grouped . audio [ 0 ]
76+ . element as import ( "@/types/timeline" ) . AudioElement
77+ }
78+ trackId = { grouped . audio [ 0 ] . track . id }
79+ />
80+ ) }
81+ { grouped . sticker && grouped . sticker . length > 0 && (
82+ < StickerProperties
83+ _element = {
84+ grouped . sticker [ 0 ]
85+ . element as import ( "@/types/timeline" ) . StickerElement
86+ }
87+ trackId = { grouped . sticker [ 0 ] . track . id }
88+ />
89+ ) }
8090 </ ScrollArea >
8191 ) : (
8292 < EmptyView />
You can’t perform that action at this time.
0 commit comments