From 081bdfb69056a0b93b48709d5093ecbb07839149 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 7 Sep 2022 12:12:21 +0200 Subject: [PATCH] fix in --- app/static/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/utils.js b/app/static/js/utils.js index 2720f35..5114731 100644 --- a/app/static/js/utils.js +++ b/app/static/js/utils.js @@ -98,7 +98,7 @@ function isInside(config, annotation) { return true } 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']) return true }