You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Initial editor accessibility.
This commit is contained in:
@@ -633,6 +633,7 @@ Sprite2DEditor::Sprite2DEditor() {
|
||||
simplification->set_max(10.00);
|
||||
simplification->set_step(0.01);
|
||||
simplification->set_value(2);
|
||||
simplification->set_accessibility_name(TTRC("Simplification"));
|
||||
hb->add_child(simplification);
|
||||
hb->add_spacer();
|
||||
hb->add_child(memnew(Label(TTR("Shrink (Pixels):"))));
|
||||
@@ -641,6 +642,7 @@ Sprite2DEditor::Sprite2DEditor() {
|
||||
shrink_pixels->set_max(10);
|
||||
shrink_pixels->set_step(1);
|
||||
shrink_pixels->set_value(0);
|
||||
shrink_pixels->set_accessibility_name(TTRC("Shrink"));
|
||||
hb->add_child(shrink_pixels);
|
||||
hb->add_spacer();
|
||||
hb->add_child(memnew(Label(TTR("Grow (Pixels):"))));
|
||||
@@ -649,6 +651,7 @@ Sprite2DEditor::Sprite2DEditor() {
|
||||
grow_pixels->set_max(10);
|
||||
grow_pixels->set_step(1);
|
||||
grow_pixels->set_value(2);
|
||||
grow_pixels->set_accessibility_name(TTRC("Grow"));
|
||||
hb->add_child(grow_pixels);
|
||||
hb->add_spacer();
|
||||
update_preview = memnew(Button);
|
||||
|
||||
Reference in New Issue
Block a user