some restructuring
This commit is contained in:
parent
3e967559e2
commit
c9c1cdeaae
@ -4,3 +4,4 @@ class_name GroupMetadata
|
||||
@export var icon_path: String
|
||||
@export var description: String
|
||||
@export var installs: Array[InstallMetadata]
|
||||
@export var settings_overrides: Dictionary
|
||||
|
@ -38,8 +38,9 @@ func _ready() -> void:
|
||||
header_text_label.gui_input.connect(_on_header_text_label_gui_input)
|
||||
|
||||
|
||||
func add(item: InstallItem) -> void:
|
||||
func add(item: InstallItem) -> int:
|
||||
child_container.add_child(item)
|
||||
return child_container.get_child_count()
|
||||
|
||||
|
||||
func free_item(at_idx: int) -> void:
|
||||
|
@ -4,7 +4,6 @@
|
||||
[ext_resource type="Texture2D" uid="uid://de57eeeobflp4" path="res://icon.svg" id="1_wwvlr"]
|
||||
|
||||
[node name="InstallItem" type="HBoxContainer"]
|
||||
anchors_preset = -1
|
||||
offset_right = 299.0
|
||||
offset_bottom = 32.0
|
||||
script = ExtResource("1_sh2ev")
|
||||
|
Loading…
Reference in New Issue
Block a user