From 7a099f19ae90de671aebdd81d0ec0ee06c574da2 Mon Sep 17 00:00:00 2001 From: Luke Hubmayer-Werner Date: Thu, 21 Jan 2021 18:56:59 +1030 Subject: [PATCH] Hackily make the stop play button visible --- scripts/Menu.gd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/Menu.gd b/scripts/Menu.gd index 7674ecf..e234d80 100644 --- a/scripts/Menu.gd +++ b/scripts/Menu.gd @@ -363,9 +363,9 @@ func _draw_gameplay(center: Vector2) -> Array: var x = center.x var y = center.y - var rect_songselect := Rect2(x-960.0, y+440.0, 100.0, 100.0) + var rect_songselect := Rect2(x-960.0, y+440.0, 100.0, 50.0) draw_rect(rect_songselect, Color.red) - draw_string_centered(TitleFont, center+Vector2(-910, 470), 'Stop') + draw_string_centered(TitleFont, center+Vector2(-910, 438), 'Stop') touchrects.append({rect=rect_songselect, action='stop'}) return touchrects @@ -430,6 +430,9 @@ func set_menu_mode(mode): $'../Receptors'.fade(mode == MenuMode.GAMEPLAY) if mode == MenuMode.GAMEPLAY: PVMusic.stop() + rect_clip_content = false + else: + rect_clip_content = true menu_mode_prev = menu_mode menu_mode = mode menu_mode_prev_fade_timer = menu_mode_prev_fade_timer_duration