mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Forward mouse events to embedded no-focus windows.
This commit is contained in:
parent
c81fd6c512
commit
3b12b3402f
2 changed files with 19 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue