PropertyEditor: Fix easing_curve blocking popup input
This commit is contained in:
parent
b276d92c8a
commit
93f0177737
@ -1957,11 +1957,6 @@ CustomPropertyEditor::CustomPropertyEditor() {
|
|||||||
add_child(error);
|
add_child(error);
|
||||||
//error->get_cancel()->hide();
|
//error->get_cancel()->hide();
|
||||||
|
|
||||||
type_button = memnew(MenuButton);
|
|
||||||
add_child(type_button);
|
|
||||||
type_button->hide();
|
|
||||||
type_button->get_popup()->connect("id_pressed", this, "_type_create_selected");
|
|
||||||
|
|
||||||
scene_tree = memnew(SceneTreeDialog);
|
scene_tree = memnew(SceneTreeDialog);
|
||||||
add_child(scene_tree);
|
add_child(scene_tree);
|
||||||
scene_tree->connect("selected", this, "_node_path_selected");
|
scene_tree->connect("selected", this, "_node_path_selected");
|
||||||
@ -1979,6 +1974,11 @@ CustomPropertyEditor::CustomPropertyEditor() {
|
|||||||
//easing_draw->emit_signal(SceneStringNames::get_singleton()->input_event,InputEvent());
|
//easing_draw->emit_signal(SceneStringNames::get_singleton()->input_event,InputEvent());
|
||||||
easing_draw->set_default_cursor_shape(Control::CURSOR_MOVE);
|
easing_draw->set_default_cursor_shape(Control::CURSOR_MOVE);
|
||||||
|
|
||||||
|
type_button = memnew(MenuButton);
|
||||||
|
add_child(type_button);
|
||||||
|
type_button->hide();
|
||||||
|
type_button->get_popup()->connect("id_pressed", this, "_type_create_selected");
|
||||||
|
|
||||||
menu = memnew(PopupMenu);
|
menu = memnew(PopupMenu);
|
||||||
add_child(menu);
|
add_child(menu);
|
||||||
menu->connect("id_pressed", this, "_menu_option");
|
menu->connect("id_pressed", this, "_menu_option");
|
||||||
|
Loading…
Reference in New Issue
Block a user