Skip to content

Commit 701a4ac

Browse files
committed
Fix accessibility mode not being disabled on first-time wizard
1 parent 1ac7de7 commit 701a4ac

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

scenes/popups/first_time/IntroductionSection.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ signal advance_section
88

99
func grab_focus():
1010
TTS.speak("To enable the screen reader, press the Control key.")
11-
RetroHubConfig.config.accessibility_screen_reader_enabled = false
11+
_on_ScreenReader_toggled(false)
1212
n_next_button.grab_focus()
1313

1414
func _input(event):

scenes/popups/first_time/RegionSection.tscn

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[gd_scene load_steps=18 format=3 uid="uid://be11gat16xuto"]
22

3-
[ext_resource type="PackedScene" path="res://scenes/ui_nodes/AgeRatingTextureRect.tscn" id="1"]
3+
[ext_resource type="PackedScene" uid="uid://77ye7lqgs7p4" path="res://scenes/ui_nodes/AgeRatingTextureRect.tscn" id="1"]
44
[ext_resource type="Script" path="res://scenes/popups/first_time/DateContainer.gd" id="2"]
55
[ext_resource type="Script" path="res://scenes/popups/first_time/RatingContainer.gd" id="3"]
66
[ext_resource type="Script" path="res://scenes/popups/first_time/RegionSection.gd" id="4"]
@@ -23,6 +23,8 @@ layout_mode = 3
2323
anchors_preset = 15
2424
anchor_right = 1.0
2525
anchor_bottom = 1.0
26+
grow_horizontal = 2
27+
grow_vertical = 2
2628
size_flags_horizontal = 3
2729
size_flags_vertical = 3
2830
script = ExtResource("4")
@@ -138,36 +140,26 @@ layout_mode = 2
138140
custom_minimum_size = Vector2(72, 90)
139141
layout_mode = 2
140142
texture = ExtResource("8")
141-
expand_mode = 1
142-
stretch_mode = 5
143143

144144
[node name="2" parent="VBoxContainer/ScrollContainer/VBoxContainer/HBoxContainer2/RatingContainer/RatingIcons" instance=ExtResource("1")]
145145
custom_minimum_size = Vector2(72, 90)
146146
layout_mode = 2
147147
texture = ExtResource("5")
148-
expand_mode = 1
149-
stretch_mode = 5
150148

151149
[node name="3" parent="VBoxContainer/ScrollContainer/VBoxContainer/HBoxContainer2/RatingContainer/RatingIcons" instance=ExtResource("1")]
152150
custom_minimum_size = Vector2(72, 90)
153151
layout_mode = 2
154152
texture = ExtResource("7")
155-
expand_mode = 1
156-
stretch_mode = 5
157153

158154
[node name="4" parent="VBoxContainer/ScrollContainer/VBoxContainer/HBoxContainer2/RatingContainer/RatingIcons" instance=ExtResource("1")]
159155
custom_minimum_size = Vector2(72, 90)
160156
layout_mode = 2
161157
texture = ExtResource("6")
162-
expand_mode = 1
163-
stretch_mode = 5
164158

165159
[node name="5" parent="VBoxContainer/ScrollContainer/VBoxContainer/HBoxContainer2/RatingContainer/RatingIcons" instance=ExtResource("1")]
166160
custom_minimum_size = Vector2(72, 90)
167161
layout_mode = 2
168162
texture = ExtResource("9")
169-
expand_mode = 1
170-
stretch_mode = 5
171163

172164
[node name="VSeparator" type="VSeparator" parent="VBoxContainer/ScrollContainer/VBoxContainer/HBoxContainer2"]
173165
layout_mode = 2

0 commit comments

Comments
 (0)