mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Now the character's button in the menu will be selected by default. (Its still a button for now.)
This commit is contained in:
parent
e92890c61f
commit
6c4a808baa
@ -9,11 +9,7 @@ margin_bottom = 88.0
|
||||
rect_min_size = Vector2( 80, 80 )
|
||||
size_flags_horizontal = 3
|
||||
theme = ExtResource( 1 )
|
||||
toggle_mode = true
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
name_label_path = NodePath("MarginContainer/HBoxContainer/VBoxContainer/name")
|
||||
class_label_path = NodePath("MarginContainer/HBoxContainer/VBoxContainer/class")
|
||||
level_label_path = NodePath("MarginContainer/HBoxContainer/VBoxContainer/HBoxContainer/level")
|
||||
|
@ -94,6 +94,7 @@ func refresh():
|
||||
container.add_child(centry)
|
||||
centry.owner = container
|
||||
centry.group = character_button_group
|
||||
centry.pressed = true
|
||||
centry.connect("pressed", self, "character_selection_changed")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user