Open girayk opened 2 days ago
I'm not quite sure what you're referring to, could you elaborate?
The ids on clips are random and not over writable.
Is the name
property not sufficient? It's like an ID but user defined
i can't set name, i'd love to set id
as well
other hand, name is could something visible and id is something private. for example when i add 2.mp4 on my project, i would like to show name on timeline etc with original name and i need to use id for able to identify them. name is could be same for anything but id must have unique. second name is deprecated on pixi, we need use label instead of Name. also when we create new clip object we are able to overwrite id, but when we create clip object from Json we re not able, when we create image clip we re able to set start and end time, but when its video object we re not able. I know clips are has different properties but image and video should have common properties. and last thing, there is getSize method on clip stage, which is useful for text or html clips because we re not scaling sizes of object but we re changing font size etc, my suggestion is getSize method should have for any clip object for ignoring potential errors.
Some projects we re recalling clips from db, etc. Can we make id’s re able to set, it’s will save time to chase them 😂