You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[Scene] Add SceneStringName::toggled
This commit is contained in:
@@ -1084,7 +1084,7 @@ ControlEditorToolbar::ControlEditorToolbar() {
|
||||
anchor_mode_button->set_toggle_mode(true);
|
||||
anchor_mode_button->set_tooltip_text(TTR("When active, moving Control nodes changes their anchors instead of their offsets."));
|
||||
add_child(anchor_mode_button);
|
||||
anchor_mode_button->connect("toggled", callable_mp(this, &ControlEditorToolbar::_anchor_mode_toggled));
|
||||
anchor_mode_button->connect(SceneStringName(toggled), callable_mp(this, &ControlEditorToolbar::_anchor_mode_toggled));
|
||||
|
||||
// Container tools.
|
||||
containers_button = memnew(ControlEditorPopupButton);
|
||||
|
||||
Reference in New Issue
Block a user