You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
[Scene] Add SceneStringNames::text/value_changed
This commit is contained in:
@@ -5275,12 +5275,12 @@ CanvasItemEditor::CanvasItemEditor() {
|
||||
|
||||
h_scroll = memnew(HScrollBar);
|
||||
viewport->add_child(h_scroll);
|
||||
h_scroll->connect("value_changed", callable_mp(this, &CanvasItemEditor::_update_scroll));
|
||||
h_scroll->connect(SceneStringName(value_changed), callable_mp(this, &CanvasItemEditor::_update_scroll));
|
||||
h_scroll->hide();
|
||||
|
||||
v_scroll = memnew(VScrollBar);
|
||||
viewport->add_child(v_scroll);
|
||||
v_scroll->connect("value_changed", callable_mp(this, &CanvasItemEditor::_update_scroll));
|
||||
v_scroll->connect(SceneStringName(value_changed), callable_mp(this, &CanvasItemEditor::_update_scroll));
|
||||
v_scroll->hide();
|
||||
|
||||
viewport->add_child(controls_vb);
|
||||
|
||||
Reference in New Issue
Block a user