Show release name in Changelog panel
This commit is contained in:
		| @ -81,6 +81,7 @@ func _download_request_completed(_result, _response_code, _headers, body): | ||||
|  | ||||
| # SETGETS | ||||
| func update_changelog(new_value): | ||||
| 	$Changelog_panel/Label.text = new_value.name | ||||
| 	$Changelog_panel/ScrollContainer/RichTextLabel.text = new_value.body | ||||
|  | ||||
|  | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| [gd_scene load_steps=24 format=2] | ||||
| [gd_scene load_steps=25 format=2] | ||||
|  | ||||
| [ext_resource path="res://textures/backgrounds/background1.png" type="Texture" id=1] | ||||
| [ext_resource path="res://fonts/SPACEBAR.ttf" type="DynamicFontData" id=2] | ||||
| @ -12,6 +12,7 @@ | ||||
| [ext_resource path="res://themes/Base_panel.tres" type="StyleBox" id=10] | ||||
| [ext_resource path="res://textures/kenney-game-icons/PNG/Black/2x/return.png" type="Texture" id=11] | ||||
| [ext_resource path="res://fonts/Retro Gaming.ttf" type="DynamicFontData" id=12] | ||||
| [ext_resource path="res://fonts/SPACE.ttf" type="DynamicFontData" id=13] | ||||
|  | ||||
| [sub_resource type="Theme" id=1] | ||||
| default_font = ExtResource( 4 ) | ||||
| @ -68,9 +69,9 @@ corner_radius_bottom_right = 16 | ||||
| corner_radius_bottom_left = 16 | ||||
| corner_detail = 20 | ||||
|  | ||||
| [sub_resource type="DynamicFont" id=10] | ||||
| size = 32 | ||||
| font_data = ExtResource( 2 ) | ||||
| [sub_resource type="DynamicFont" id=14] | ||||
| size = 24 | ||||
| font_data = ExtResource( 13 ) | ||||
|  | ||||
| [sub_resource type="DynamicFont" id=13] | ||||
| size = 10 | ||||
| @ -190,7 +191,6 @@ custom_styles/normal = ExtResource( 10 ) | ||||
| text = "changelog" | ||||
|  | ||||
| [node name="Changelog_panel" type="Panel" parent="."] | ||||
| visible = false | ||||
| anchor_left = 0.5 | ||||
| anchor_top = 0.5 | ||||
| anchor_right = 0.5 | ||||
| @ -207,7 +207,7 @@ __meta__ = { | ||||
| [node name="Label" type="Label" parent="Changelog_panel"] | ||||
| margin_right = 510.0 | ||||
| margin_bottom = 66.0 | ||||
| custom_fonts/font = SubResource( 10 ) | ||||
| custom_fonts/font = SubResource( 14 ) | ||||
| text = "Changelog" | ||||
| align = 1 | ||||
| valign = 1 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user