longer HUD gauges
This commit is contained in:
parent
e76043ca97
commit
b012a2d51e
|
@ -347,7 +347,7 @@ pub fn setup(
|
||||||
let icon_size = 24.0;
|
let icon_size = 24.0;
|
||||||
let gauge_bar_padding_left = 4.0;
|
let gauge_bar_padding_left = 4.0;
|
||||||
for (i, (sprite, gauge)) in gauges.iter().enumerate() {
|
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
|
// The bar with variable width
|
||||||
commands.spawn((
|
commands.spawn((
|
||||||
|
|
Loading…
Reference in a new issue