[PM-5189] Refactoring implementation

This commit is contained in:
Cesar Gonzalez 2024-06-07 10:38:58 -05:00
parent 78911732fb
commit 4b241fe47f
No known key found for this signature in database
GPG Key ID: 3381A5457F8CCECF
1 changed files with 1 additions and 1 deletions

View File

@ -605,8 +605,8 @@ export class OverlayBackground implements OverlayBackgroundInterface {
globalThis.clearTimeout(this.inlineMenuFadeInTimeout);
}
const message = { command: "updateInlineMenuIframePosition", styles: { opacity: "1" } };
this.inlineMenuFadeInTimeout = globalThis.setTimeout(() => {
const message = { command: "updateInlineMenuIframePosition", styles: { opacity: "1" } };
this.inlineMenuButtonPort?.postMessage(message);
this.inlineMenuListPort?.postMessage(message);
}, 50);