mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-10 02:37:12 +07:00
Fixed #3628
This commit is contained in:
parent
8dd66fb942
commit
8b6fc7f3ac
@ -78,6 +78,9 @@ public class Bar extends Element{
|
||||
lastValue = computed;
|
||||
}
|
||||
|
||||
if(Float.isNaN(computed)) computed = 0;
|
||||
if(Float.isInfinite(computed)) computed = 1f;
|
||||
|
||||
blink = Mathf.lerpDelta(blink, 0f, 0.2f);
|
||||
value = Mathf.lerpDelta(value, computed, 0.15f);
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=7a2a357f6cfdc3725ce581093a0ced91f4474222
|
||||
archash=989a78688268c97cb3baa9e3342c6f44d6738427
|
||||
|
Loading…
Reference in New Issue
Block a user