1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

Forward mouse events to embedded no-focus windows.

This commit is contained in:
Pāvels Nadtočajevs
2025-07-29 12:10:24 +03:00
parent c81fd6c512
commit 3b12b3402f
2 changed files with 19 additions and 1 deletions

View File

@@ -4686,7 +4686,7 @@ void EditorHelpBitTooltip::popup_under_cursor() {
// When `FLAG_POPUP` is false, it prevents the editor from losing focus when displaying the tooltip.
// This way, clicks and double-clicks are still available outside the tooltip.
set_flag(Window::FLAG_POPUP, false);
set_flag(Window::FLAG_NO_FOCUS, !is_embedded());
set_flag(Window::FLAG_NO_FOCUS, true);
popup(r);
}