Skip to content

Commit

Permalink
Fix donors list not showing (#867)
Browse files Browse the repository at this point in the history
  • Loading branch information
MewPurPur authored Aug 19, 2024
1 parent 20d6623 commit 3848659
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
7 changes: 3 additions & 4 deletions app_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
"Swarkin",
"thiagola92",
"Tom Blackwell (Volts-s)",
"WeaverSong}"
],
"donors": [
"Racer911dash1"
"WeaverSong"
],
"donors": [],
"anonymous_donors": 1,
"golden_donors": [],
"diamond_donors": [
"Aaron Franke (aaronfranke)"
Expand Down
2 changes: 1 addition & 1 deletion src/ui_parts/about_menu.gd
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func _ready() -> void:
project_founder_list.setup()
authors_list.items = app_info.authors
authors_list.setup()
donors_list.items = app_info.donors
donors_list.items = app_info.donors + ["%d anonymous" % app_info.anonymous_donors]
donors_list.setup()
golden_donors_list.items = app_info.golden_donors
golden_donors_list.setup()
Expand Down
16 changes: 7 additions & 9 deletions src/ui_parts/about_menu.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -137,22 +137,21 @@ layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 8

[node name="Donors" type="VBoxContainer" parent="VBoxContainer/TabContainer/Donors/VBoxContainer"]
[node name="DiamondDonors" type="VBoxContainer" parent="VBoxContainer/TabContainer/Donors/VBoxContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 6

[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Donors/VBoxContainer/Donors"]
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Donors/VBoxContainer/DiamondDonors"]
layout_mode = 2
horizontal_alignment = 1

[node name="List" type="GridContainer" parent="VBoxContainer/TabContainer/Donors/VBoxContainer/Donors"]
[node name="List" type="GridContainer" parent="VBoxContainer/TabContainer/Donors/VBoxContainer/DiamondDonors"]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/h_separation = -1
theme_override_constants/v_separation = -1
columns = 2
script = ExtResource("7_nvctb")
stylebox = SubResource("StyleBoxFlat_jtvwe")

Expand All @@ -175,18 +174,17 @@ columns = 2
script = ExtResource("7_nvctb")
stylebox = SubResource("StyleBoxFlat_jtvwe")

[node name="DiamondDonors" type="VBoxContainer" parent="VBoxContainer/TabContainer/Donors/VBoxContainer"]
[node name="Donors" type="VBoxContainer" parent="VBoxContainer/TabContainer/Donors/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 6

[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Donors/VBoxContainer/DiamondDonors"]
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Donors/VBoxContainer/Donors"]
layout_mode = 2
horizontal_alignment = 1

[node name="List" type="GridContainer" parent="VBoxContainer/TabContainer/Donors/VBoxContainer/DiamondDonors"]
unique_name_in_owner = true
[node name="List" type="GridContainer" parent="VBoxContainer/TabContainer/Donors/VBoxContainer/Donors"]
layout_mode = 2
theme_override_constants/h_separation = -1
theme_override_constants/v_separation = -1
Expand Down
2 changes: 1 addition & 1 deletion nl.po → translations/nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ msgstr ""
"X-Generator: Poedit 3.4.4\n"

msgid "translation-credits"
msgstr "Racer911-1 / Racer911dash1 "
msgstr "Racer911dash1"

#: src/autoload/HandlerGUI.gd
msgid "Quit GodSVG"
Expand Down

0 comments on commit 3848659

Please sign in to comment.