forked from 0x2620/oxjs
correctly compute if scrollbar is visible
This commit is contained in:
parent
da403a4d02
commit
ae33784cc1
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue