Skip to content

Commit 9eff076

Browse files
authored
fix(Highlighter): fix clear not working correctly with filter (#719)
1 parent c065366 commit 9eff076

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/front/src/fragments/Highlighter

packages/front/src/fragments/Highlighter/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ export class Highlighter
494494
}
495495

496496
// Clean up selection map for this style
497-
this.selection[style] = {};
497+
OBC.ModelIdMapUtils.remove(this.selection[style], clearedItems);
498498
}
499499

500500
if (!this._fromHighlight) {

0 commit comments

Comments
 (0)