Skip to content

Commit 9f1d067

Browse files
Fixed an issue that prevented resizing highlights in mark-elements drawing mode.
1 parent 48932fe commit 9f1d067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

highlight-helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ function Highlighter(options = hhDefaultOptions) {
457457
this.activateHighlight(highlightId);
458458
} else if (activeHighlightId && highlightId === activeHighlightId && appearanceChanges.length > 0) {
459459
updateSelectionUi('appearance');
460-
} else {
460+
} else if (highlightId !== activeHighlightId) {
461461
this.drawHighlights([highlightId]);
462462
}
463463

0 commit comments

Comments
 (0)