1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix EditorHelpBitTooltip in single window mode.

This commit is contained in:
Pāvels Nadtočajevs
2025-04-07 10:38:10 +03:00
parent a210fe6dbd
commit 903e850390

View File

@@ -4555,7 +4555,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, true);
set_flag(Window::FLAG_NO_FOCUS, !is_embedded());
popup(r);
}