NowPlaying, QuizToolbar and SongControls become their own scenes, the auto repeat switch moves into the music player scene, and downloading songs moves into a SongLoader node. The quiz only wires the parts together. Every node keeps its place on screen. Screenshots of every UI state are pixel-identical to before, the layout test still matches the original baseline, and each new part has its own tests.
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
[gd_scene format=3]
|
|
|
|
[ext_resource type="Script" path="res://song_controls.gd" id="part_script"]
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_06rl4"]
|
|
device = -1
|
|
alt_pressed = true
|
|
keycode = 86
|
|
unicode = 8249
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_a7fvb"]
|
|
events = [SubResource("InputEventKey_06rl4")]
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_7dnqw"]
|
|
device = -1
|
|
alt_pressed = true
|
|
keycode = 67
|
|
unicode = 231
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_d6fml"]
|
|
events = [SubResource("InputEventKey_7dnqw")]
|
|
|
|
[node name="SongControls" type="Control" unique_id=1640212773]
|
|
layout_mode = 3
|
|
offset_right = 303.0
|
|
offset_bottom = 31.0
|
|
mouse_filter = 2
|
|
script = ExtResource("part_script")
|
|
|
|
[node name="ShowAnswerButton" type="Button" parent="." unique_id=415388039]
|
|
layout_mode = 0
|
|
offset_right = 111.0
|
|
offset_bottom = 31.0
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
shortcut = SubResource("Shortcut_a7fvb")
|
|
text = "Show answer"
|
|
|
|
[node name="NextButton" type="Button" parent="." unique_id=1744703488]
|
|
layout_mode = 0
|
|
offset_left = 128.0
|
|
offset_right = 303.0
|
|
offset_bottom = 31.0
|
|
focus_mode = 0
|
|
disabled = true
|
|
action_mode = 0
|
|
shortcut = SubResource("Shortcut_d6fml")
|
|
text = "Randomize new track"
|