mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +00:00
Open sub-windows as embedded if the OS does not support them
This commit is contained in:
parent
441f1a5fe9
commit
c7b4dcae2f
32 changed files with 1027 additions and 636 deletions
|
|
@ -158,7 +158,11 @@ void AnimationNodeStateMachineEditor::_state_machine_gui_input(const Ref<InputEv
|
|||
name_edit->set_global_position(state_machine_draw->get_global_transform().xform(edit_rect.position));
|
||||
name_edit->set_size(edit_rect.size);
|
||||
name_edit->set_text(node_rects[i].node_name);
|
||||
name_edit->show_modal();
|
||||
#ifndef _MSC_VER
|
||||
#warning no more show modal, so it must replaced by a popup
|
||||
#endif
|
||||
//name_edit->show_modal();
|
||||
name_edit->show();
|
||||
name_edit->grab_focus();
|
||||
name_edit->select_all();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue