update timeline one once

This commit is contained in:
j 2023-07-09 16:01:58 +05:30
parent 95faa3e40a
commit 62a94ee644

View file

@ -266,9 +266,6 @@ Ox.VideoEditPanel = function(options, self) {
.bindEvent({ .bindEvent({
durationchange: function(data) { durationchange: function(data) {
self.options.duration = data.duration; self.options.duration = data.duration;
self.$timeline && self.$timeline.replaceWith(
self.$timeline = getTimeline()
);
setPosition(self.$video.options('position'), true); setPosition(self.$video.options('position'), true);
self.$clipPanel.options({duration: self.options.duration}); self.$clipPanel.options({duration: self.options.duration});
}, },