diff --git a/Scenes/GUI/InGameMenu.tscn b/Scenes/GUI/InGameMenu.tscn index 6f67970..af2af4d 100644 --- a/Scenes/GUI/InGameMenu.tscn +++ b/Scenes/GUI/InGameMenu.tscn @@ -218,6 +218,7 @@ grow_vertical = 2 [node name="InvisibleMask" type="Control" parent="FlowControlsScreen/DialogPanel"] clip_contents = true layout_mode = 1 +anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 4.0 @@ -298,6 +299,7 @@ grow_vertical = 2 [node name="InvisibleMask" type="Control" parent="CosmeticsScreen/DialogPanel"] clip_contents = true layout_mode = 1 +anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 4.0 diff --git a/Scripts/InGameMenu.gd b/Scripts/InGameMenu.gd index 9cd22b6..85eac20 100644 --- a/Scripts/InGameMenu.gd +++ b/Scripts/InGameMenu.gd @@ -220,6 +220,7 @@ func _physics_process(_delta: float) -> void: prev_frame_held[j] = false j+=1 index += 1 + if (index % 60 == 0): index = int($AudioStreamPlayer.get_playback_position() * 60) if (index <= 0): _on_stop_button_pressed() update_time_label()