Fix variable naming

This commit is contained in:
Marty Oehme 2022-12-25 00:34:27 +01:00
parent ac711ce108
commit 274bb47c64
Signed by: Marty
GPG Key ID: 73BA40D5AFAF49C9
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class Annotation:
self.colors.get("stroke") or self.colors.get("fill") or (0.0, 0.0, 0.0)
)
nearest = None
minimum_similarity = COLOR_SIMILARITY_THRESHOLD
minimum_similarity = COLOR_SIMILARITY_MINIMUM
for name, values in COLORS.items():
similarity_ratio = self._color_similarity_ratio(values, annot_colors)
if similarity_ratio > minimum_similarity: