From ae33784cc15d4e2259236804f8aac2b4876a5ff7 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Thu, 19 Apr 2012 12:25:39 +0000 Subject: [PATCH] correctly compute if scrollbar is visible --- source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js b/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js index 585df7ed..46e3dafc 100644 --- a/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js @@ -405,7 +405,7 @@ Ox.VideoTimelinePlayer = function(options, self) { ); return !scrollbarIsVisible && lines * ( self.tileHeight + self.margin - ) + self.margin > self.options.height ? getLines(true) : lines; + ) + self.margin > self.contentHeight ? getLines(true) : lines; } function getPosition(e) {