diff options
author | Spartan322 <Megacake1234@gmail.com> | 2023-03-01 20:54:10 +0100 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2023-03-07 19:34:23 +0100 |
commit | 787784bb6b5b9f252b23ae6f5de7af8f91d0eb7f (patch) | |
tree | 1fb0ad26014531b25eeda85ba3b8ccb80a24b6dd /game/src/GameMenu.tscn | |
parent | 95173891f7c5eea7717a58ae4f1438fd09e0ee1f (diff) |
Fix Credits to use theme type variants over LabelSettings
- Enables reliable theme application
Remove LabelSettings resources from Credits
Moved theme load from MainMenu to GameMenu scene
Removed Button references from default_theme resource
Diffstat (limited to 'game/src/GameMenu.tscn')
-rw-r--r-- | game/src/GameMenu.tscn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/game/src/GameMenu.tscn b/game/src/GameMenu.tscn index 9442d1a..3c72991 100644 --- a/game/src/GameMenu.tscn +++ b/game/src/GameMenu.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=7 format=3 uid="uid://b4pg2y2ivib8f"] +[gd_scene load_steps=8 format=3 uid="uid://b4pg2y2ivib8f"] [ext_resource type="Script" path="res://src/GameMenu.gd" id="1_cafwe"] +[ext_resource type="Theme" uid="uid://cr4lh0vraucx7" path="res://default_theme.tres" id="1_q3b4c"] [ext_resource type="PackedScene" uid="uid://dvoin538iby54" path="res://src/MainMenu/MainMenu.tscn" id="2_2jbkh"] [ext_resource type="PackedScene" uid="uid://cnbfxjy1m6wja" path="res://src/OptionMenu/OptionsMenu.tscn" id="3_111lv"] [ext_resource type="PackedScene" uid="uid://b7oncobnacxmt" path="res://src/LocaleButton.tscn" id="4_jno35"] @@ -14,6 +15,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 +theme = ExtResource("1_q3b4c") script = ExtResource("1_cafwe") [node name="MainMenu" parent="." instance=ExtResource("2_2jbkh")] |