fix potential off-by-one

This commit is contained in:
rolux 2013-02-12 12:10:49 +05:30
parent 37fd8b2ce9
commit 17bdb6ccd9

View file

@ -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,