This commit is contained in:
j 2022-09-07 12:12:21 +02:00
parent 5414d4bca1
commit 081bdfb690

View file

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