You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #109794 from vaner-org/blendspace-fix-error-padding
Correctly hide BlendSpace editor error panel on load
This commit is contained in:
@@ -801,6 +801,7 @@ AnimationNodeBlendSpace1DEditor::AnimationNodeBlendSpace1DEditor() {
|
||||
error_label = memnew(Label);
|
||||
error_label->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
error_panel->add_child(error_label);
|
||||
error_panel->hide();
|
||||
|
||||
menu = memnew(PopupMenu);
|
||||
add_child(menu);
|
||||
|
||||
@@ -1082,6 +1082,7 @@ AnimationNodeBlendSpace2DEditor::AnimationNodeBlendSpace2DEditor() {
|
||||
error_label = memnew(Label);
|
||||
error_label->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
error_panel->add_child(error_label);
|
||||
error_panel->hide();
|
||||
|
||||
set_custom_minimum_size(Size2(0, 300 * EDSCALE));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user