make sure timeline player has a bottom margin of 8px (not 4px)
This commit is contained in:
parent
14102508e1
commit
821e8d1a4e
1 changed files with 6 additions and 2 deletions
|
@ -144,7 +144,6 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
|||
self.options.position -= self.contentWidth / self.fps;
|
||||
setPosition();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
self.$playerbar = Ox.Bar({size: 16});
|
||||
|
@ -243,6 +242,9 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
|||
Ox.loop(self.lines, function(i) {
|
||||
addLine(i);
|
||||
});
|
||||
Ox.last(self.$lines).css({
|
||||
height: self.tileHeight + 1.5 * self.margin + 'px'
|
||||
});
|
||||
|
||||
self.$frameBox = $('<div>')
|
||||
.css({
|
||||
|
@ -362,7 +364,6 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
|||
self.$lines[i]
|
||||
.append(self.$timelines[i][1])
|
||||
.append(self.$timelines[i][0]);
|
||||
|
||||
}
|
||||
|
||||
function changeVolume(num) {
|
||||
|
@ -668,6 +669,9 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
|||
self.$lines.pop();
|
||||
self.$timelines.pop();
|
||||
}
|
||||
Ox.last(self.$lines).css({
|
||||
height: self.tileHeight + 1.5 * self.margin + 'px'
|
||||
});
|
||||
if (!self.options.paused && self.options.followPlayer) {
|
||||
self.scrollTimeout && clearTimeout(self.scrollTimeout);
|
||||
scrollToPosition();
|
||||
|
|
Loading…
Reference in a new issue