mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix accessibility name errors in BlendSpace2D editor
(cherry picked from commit 22e67735f1
)
This commit is contained in:
parent
50aad8e62b
commit
0f17c184e4
1 changed files with 3 additions and 3 deletions
|
@ -980,7 +980,7 @@ AnimationNodeBlendSpace2DEditor::AnimationNodeBlendSpace2DEditor() {
|
||||||
edit_y->set_min(-1000);
|
edit_y->set_min(-1000);
|
||||||
edit_y->set_step(0.01);
|
edit_y->set_step(0.01);
|
||||||
edit_y->set_max(1000);
|
edit_y->set_max(1000);
|
||||||
edit_y->set_accessibility_name(TTRC("Blend X Value"));
|
edit_y->set_accessibility_name(TTRC("Blend Y Value"));
|
||||||
edit_y->connect(SceneStringName(value_changed), callable_mp(this, &AnimationNodeBlendSpace2DEditor::_edit_point_pos));
|
edit_y->connect(SceneStringName(value_changed), callable_mp(this, &AnimationNodeBlendSpace2DEditor::_edit_point_pos));
|
||||||
open_editor = memnew(Button);
|
open_editor = memnew(Button);
|
||||||
edit_hb->add_child(open_editor);
|
edit_hb->add_child(open_editor);
|
||||||
|
@ -1045,12 +1045,12 @@ AnimationNodeBlendSpace2DEditor::AnimationNodeBlendSpace2DEditor() {
|
||||||
bottom_vbox->add_child(min_x_value);
|
bottom_vbox->add_child(min_x_value);
|
||||||
bottom_vbox->add_spacer();
|
bottom_vbox->add_spacer();
|
||||||
label_x = memnew(LineEdit);
|
label_x = memnew(LineEdit);
|
||||||
label_y->set_accessibility_name(TTRC("X Value"));
|
label_x->set_accessibility_name(TTRC("X Value"));
|
||||||
bottom_vbox->add_child(label_x);
|
bottom_vbox->add_child(label_x);
|
||||||
label_x->set_expand_to_text_length_enabled(true);
|
label_x->set_expand_to_text_length_enabled(true);
|
||||||
bottom_vbox->add_spacer();
|
bottom_vbox->add_spacer();
|
||||||
max_x_value = memnew(SpinBox);
|
max_x_value = memnew(SpinBox);
|
||||||
max_x_value->set_accessibility_name(TTRC("Max Y"));
|
max_x_value->set_accessibility_name(TTRC("Max X"));
|
||||||
bottom_vbox->add_child(max_x_value);
|
bottom_vbox->add_child(max_x_value);
|
||||||
|
|
||||||
max_x_value->set_max(10000);
|
max_x_value->set_max(10000);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue