From 22614e370e050f98698fcd5cbb4b798d441796f6 Mon Sep 17 00:00:00 2001 From: Vladimir Potekhin Date: Mon, 18 Mar 2024 09:49:20 +0300 Subject: [PATCH] chore: fix comment --- projects/core/directives/hint/hint-hover.directive.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/core/directives/hint/hint-hover.directive.ts b/projects/core/directives/hint/hint-hover.directive.ts index 7700d1230799..06c2b03b0df1 100644 --- a/projects/core/directives/hint/hint-hover.directive.ts +++ b/projects/core/directives/hint/hint-hover.directive.ts @@ -34,8 +34,8 @@ export class TuiHintHoverDirective extends TuiDriver { map( value => value && - (!tuiIsObscured(this.el.nativeElement) || - this.el.nativeElement.hasAttribute('tuiHintPointer')), + (this.el.nativeElement.hasAttribute('tuiHintPointer') || + !tuiIsObscured(this.el.nativeElement)), ), tap(visible => { this.visible = visible;