mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
[Scene] Add SceneStringNames::text/value_changed
This commit is contained in:
parent
ca18a06ecb
commit
fbb879debd
90 changed files with 238 additions and 232 deletions
|
|
@ -1019,7 +1019,7 @@ CurveEditor::CurveEditor() {
|
|||
snap_count_edit->set_value(DEFAULT_SNAP);
|
||||
snap_count_edit->set_custom_minimum_size(Size2(65 * EDSCALE, 0));
|
||||
toolbar->add_child(snap_count_edit);
|
||||
snap_count_edit->connect("value_changed", callable_mp(this, &CurveEditor::_set_snap_count));
|
||||
snap_count_edit->connect(SceneStringName(value_changed), callable_mp(this, &CurveEditor::_set_snap_count));
|
||||
|
||||
presets_button = memnew(MenuButton);
|
||||
presets_button->set_text(TTR("Presets"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue