mirror of
https://github.com/godotengine/godot.git
synced 2025-10-29 20:51:14 +00:00
[Scene] Add SceneStringName::toggled
This commit is contained in:
parent
f648de1a83
commit
52889ab7ee
44 changed files with 74 additions and 72 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue