@twick/video-editor 0.14.14 → 0.14.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ import { TrackElement, Track } from '@twick/timeline';
19
19
  * ```
20
20
  */
21
21
  export declare const useTimelineManager: () => {
22
- timelineData: import('@twick/timeline/dist/services/data.service').TimelineTrackData | null;
22
+ timelineData: import('@twick/timeline/dist/src/services/data.service').TimelineTrackData | null;
23
23
  onAddTrack: () => void;
24
24
  onElementDrag: ({ element, dragType, updates, }: {
25
25
  updates: {
package/dist/index.js CHANGED
@@ -17656,6 +17656,7 @@ This message will only show in development mode. It won't appear in production.
17656
17656
  element.setEnd(updates.end);
17657
17657
  const updatedElement = editor.updateElement(element);
17658
17658
  setSelectedItem(updatedElement);
17659
+ editor.refresh();
17659
17660
  };
17660
17661
  const timelineData = React.useMemo(() => {
17661
17662
  const timelineDataFromEditor = editor.getTimelineData();
@@ -17664,6 +17665,7 @@ This message will only show in development mode. It won't appear in production.
17664
17665
  const { setSeekTime, setCurrentTime } = livePlayer.useLivePlayerContext();
17665
17666
  const onReorder = (reorderedItems) => {
17666
17667
  editor.reorderTracks(reorderedItems);
17668
+ editor.refresh();
17667
17669
  };
17668
17670
  const onSeek = (time2) => {
17669
17671
  setCurrentTime(time2);