You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
committed by
Rémi Verschelde
parent
4b77d8520b
commit
2f90dfef65
@@ -5088,7 +5088,7 @@ void AnimationTrackEditor::_update_nearest_fps_label() {
|
|||||||
nearest_fps_label->hide();
|
nearest_fps_label->hide();
|
||||||
} else {
|
} else {
|
||||||
nearest_fps_label->show();
|
nearest_fps_label->show();
|
||||||
nearest_fps_label->set_text("Nearest FPS: " + itos(nearest_fps));
|
nearest_fps_label->set_text(vformat(TTR("Nearest FPS: %d"), nearest_fps));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -7688,6 +7688,7 @@ AnimationTrackEditor::AnimationTrackEditor() {
|
|||||||
fps_compat->connect(SceneStringName(toggled), callable_mp(this, &AnimationTrackEditor::_update_fps_compat_mode));
|
fps_compat->connect(SceneStringName(toggled), callable_mp(this, &AnimationTrackEditor::_update_fps_compat_mode));
|
||||||
|
|
||||||
nearest_fps_label = memnew(Label);
|
nearest_fps_label = memnew(Label);
|
||||||
|
nearest_fps_label->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
|
||||||
bottom_hf->add_child(nearest_fps_label);
|
bottom_hf->add_child(nearest_fps_label);
|
||||||
|
|
||||||
step = memnew(EditorSpinSlider);
|
step = memnew(EditorSpinSlider);
|
||||||
|
|||||||
@@ -871,9 +871,8 @@ ConnectDialog::ConnectDialog() {
|
|||||||
hbc_method->add_child(dst_method);
|
hbc_method->add_child(dst_method);
|
||||||
register_text_enter(dst_method);
|
register_text_enter(dst_method);
|
||||||
|
|
||||||
open_method_tree = memnew(Button);
|
open_method_tree = memnew(Button(TTRC("Pick")));
|
||||||
hbc_method->add_child(open_method_tree);
|
hbc_method->add_child(open_method_tree);
|
||||||
open_method_tree->set_text("Pick");
|
|
||||||
open_method_tree->connect(SceneStringName(pressed), callable_mp(this, &ConnectDialog::_open_method_popup));
|
open_method_tree->connect(SceneStringName(pressed), callable_mp(this, &ConnectDialog::_open_method_popup));
|
||||||
|
|
||||||
advanced = memnew(CheckButton(TTR("Advanced")));
|
advanced = memnew(CheckButton(TTR("Advanced")));
|
||||||
|
|||||||
@@ -2374,7 +2374,7 @@ ColorPicker::ColorPicker() {
|
|||||||
swatches_vbc->add_child(palette_box);
|
swatches_vbc->add_child(palette_box);
|
||||||
|
|
||||||
btn_preset = memnew(Button);
|
btn_preset = memnew(Button);
|
||||||
btn_preset->set_text("Swatches");
|
btn_preset->set_text(ETR("Swatches"));
|
||||||
btn_preset->set_flat(true);
|
btn_preset->set_flat(true);
|
||||||
btn_preset->set_toggle_mode(true);
|
btn_preset->set_toggle_mode(true);
|
||||||
btn_preset->set_focus_mode(FOCUS_NONE);
|
btn_preset->set_focus_mode(FOCUS_NONE);
|
||||||
|
|||||||
Reference in New Issue
Block a user