From 17bdb6ccd90659daac50bc0910ce2f3eee9226dc Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 12 Feb 2013 12:10:49 +0530 Subject: [PATCH] fix potential off-by-one --- source/Ox.UI/js/Video/SmallVideoTimelineImage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/SmallVideoTimelineImage.js b/source/Ox.UI/js/Video/SmallVideoTimelineImage.js index 18835819..32818100 100644 --- a/source/Ox.UI/js/Video/SmallVideoTimelineImage.js +++ b/source/Ox.UI/js/Video/SmallVideoTimelineImage.js @@ -196,7 +196,7 @@ Ox.SmallVideoTimelineImage = function(options, self) { self.options.out / self.options.duration * width ) + 1, spans = self.options.invertHighlight - ? [{left: 0, right: left}, {left: right, right: width + 1}] + ? [{left: 0, right: left}, {left: right, right: width}] : [{left: left, right: right}], top = 0, bottom = height,