fix in
This commit is contained in:
parent
5414d4bca1
commit
081bdfb690
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ function isInside(config, annotation) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if (annotation['in'] < config['out'] && annotation['out'] > config['in']) {
|
if (annotation['in'] < config['out'] && annotation['out'] > config['in']) {
|
||||||
annotation['in'] = Math.min(annotation['in'], config['in'])
|
annotation['in'] = Math.max(annotation['in'], config['in'])
|
||||||
annotation['out'] = Math.min(annotation['out'], config['out'])
|
annotation['out'] = Math.min(annotation['out'], config['out'])
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue