fix potential off-by-one
This commit is contained in:
parent
37fd8b2ce9
commit
17bdb6ccd9
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue