Merge pull request #2569 from TheHX/issue_2567
Fix bug in EditorPlugin::add_custom_control
This commit is contained in:
commit
0b5ac93875
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ void EditorPlugin::add_custom_control(CustomControlContainer p_location,Control
|
|||
case CONTAINER_CANVAS_EDITOR_SIDE: {
|
||||
|
||||
CanvasItemEditor::get_singleton()->get_palette_split()->add_child(p_control);
|
||||
CanvasItemEditor::get_singleton()->get_palette_split()->move_child(p_control,0);
|
||||
|
||||
} break;
|
||||
case CONTAINER_CANVAS_EDITOR_BOTTOM: {
|
||||
|
|
Loading…
Reference in a new issue