longer HUD gauges

This commit is contained in:
yuni 2024-05-15 05:28:53 +02:00
parent e76043ca97
commit b012a2d51e

View file

@ -347,7 +347,7 @@ pub fn setup(
let icon_size = 24.0;
let gauge_bar_padding_left = 4.0;
for (i, (sprite, gauge)) in gauges.iter().enumerate() {
let bar_length = if i == 0 { 196.0 } else { 128.0 };
let bar_length = if i == 0 { 32.0*8.0 } else { 32.0*5.0 };
// The bar with variable width
commands.spawn((