From d1e9b6de26a0ff7dd2c00398fab17b895f9dcb34 Mon Sep 17 00:00:00 2001 From: Eduard Belozertsev Date: Mon, 22 Dec 2025 21:37:40 +0700 Subject: [PATCH] For bug #68833: - Add function to hide tooltip (with timeout) --- slide/Drawing/HtmlPage.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/slide/Drawing/HtmlPage.js b/slide/Drawing/HtmlPage.js index be7c973a7d..9d27919724 100644 --- a/slide/Drawing/HtmlPage.js +++ b/slide/Drawing/HtmlPage.js @@ -328,6 +328,17 @@ this.m_oBottomPanesContainer.Anchor = (g_anchor_left | g_anchor_right | g_anchor_bottom); this.m_oMainParent.AddControl(this.m_oBottomPanesContainer); + this.m_oBottomPanesContainer.HtmlElement.addEventListener('mouseleave', function () { + console.log('mouseleave'); + setTimeout(function () { + console.log('timeout'); + const data = new AscCommon.CMouseMoveData(); + Asc.editor.sync_MouseMoveStartCallback(); + Asc.editor.sync_MouseMoveCallback(data); + Asc.editor.sync_MouseMoveEndCallback(); + }, 1000); + }); + this.initNotes(); this.initAnimationPane();