1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Merge pull request #105111 from bruvzg/nof_help

Fix `EditorHelpBitTooltip` in single window mode.
This commit is contained in:
Thaddeus Crews
2025-04-07 08:43:19 -05:00

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);
}