Skip to content
Snippets Groups Projects
Unverified Commit f3c33c13 authored by Xiao Gui's avatar Xiao Gui
Browse files

bugfix: stale hover region tooltip

parent 4fe99b42
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ export class MouseHoverDirective { ...@@ -18,7 +18,7 @@ export class MouseHoverDirective {
this.store$.pipe( this.store$.pipe(
select(userInteraction.selectors.mousingOverRegions), select(userInteraction.selectors.mousingOverRegions),
).pipe( ).pipe(
distinctUntilChanged(arrayEqual((o, n) => o.id === n.name)), distinctUntilChanged(arrayEqual((o, n) => o?.name === n?.name)),
map(regions => { map(regions => {
return { regions } return { regions }
}), }),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment