correctly compute if scrollbar is visible

This commit is contained in:
rlx 2012-04-19 12:25:39 +00:00
commit ae33784cc1

View file

@ -405,7 +405,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
); );
return !scrollbarIsVisible && lines * ( return !scrollbarIsVisible && lines * (
self.tileHeight + self.margin self.tileHeight + self.margin
) + self.margin > self.options.height ? getLines(true) : lines; ) + self.margin > self.contentHeight ? getLines(true) : lines;
} }
function getPosition(e) { function getPosition(e) {