set cut marker image on all images at once, to improve load performance
This commit is contained in:
parent
3d33a16668
commit
6dc3e96ff1
1 changed files with 1 additions and 1 deletions
|
@ -97,10 +97,10 @@ Ox.LargeVideoTimeline = function(options, self) {
|
|||
self.options.cuts.forEach(function(v, i) {
|
||||
self.$cuts[i] = $('<img>')
|
||||
.addClass('OxCut')
|
||||
.attr({src: Ox.UI.getImageURL('markerCut')})
|
||||
.css({left: (v * self.fps) + 'px'})
|
||||
.appendTo(self.$timeline);
|
||||
});
|
||||
self.$timeline.find('.OxCut').attr({src: Ox.UI.getImageURL('markerCut')});
|
||||
|
||||
self.$markerPosition = $('<img>')
|
||||
.addClass('OxMarkerPosition')
|
||||
|
|
Loading…
Reference in a new issue