mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-11 07:39:39 +07:00
Bar re-scaling
This commit is contained in:
parent
f652135e19
commit
80360214df
@ -202,7 +202,7 @@ public class OverlayRenderer{
|
|||||||
void drawBar(Color color, float x, float y, float finion){
|
void drawBar(Color color, float x, float y, float finion){
|
||||||
finion = Mathf.clamp(finion);
|
finion = Mathf.clamp(finion);
|
||||||
|
|
||||||
if(finion > 0) finion = Mathf.clamp(finion + 0.2f, 0.24f, 1f);
|
if(finion > 0) finion = Mathf.clamp(finion, 0.24f, 1f);
|
||||||
|
|
||||||
float len = 3;
|
float len = 3;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user