From d80305e6caf6dafd76882cabf7a30c1559aa3b53 Mon Sep 17 00:00:00 2001 From: Luke Hubmayer-Werner Date: Sun, 3 May 2020 15:50:27 +0930 Subject: [PATCH] Compact menu to fit all genres on for now --- scripts/Menu.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Menu.gd b/scripts/Menu.gd index c4c97a2..0f06d7a 100644 --- a/scripts/Menu.gd +++ b/scripts/Menu.gd @@ -119,7 +119,7 @@ func _draw_song_select(center: Vector2) -> Array: var spacer_y = 64 var sel_scales := [1.0, 0.8, 0.64, 0.64, 0.64, 0.512, 0.4096] var bg_scales := [0.64, 0.64, 0.64, 0.64, 0.64, 0.512, 0.4096] - var gy := center.y -250 + var gy := center.y -300 var touchrects := [] for g in len(genres): @@ -162,7 +162,7 @@ func _draw_song_select(center: Vector2) -> Array: subsize = size * scales[-i] r = draw_songtile(songslist[(selected_song_vis-i) % s], Vector2(gx-x - subsize, y), subsize) touchrects.append({rect=r, song_idx=selected_song_vis-i, genre_idx=g}) - gy += size*base_scales[0] + (spacer_y * 2) + gy += size*base_scales[0] + (spacer_y * (2 if selected else 1)) return touchrects func _draw_chart_select(center: Vector2) -> Array: