This commit is contained in:
Anuken 2020-11-27 12:27:56 -05:00
parent 8dd66fb942
commit 8b6fc7f3ac
2 changed files with 4 additions and 1 deletions

View File

@ -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);

View File

@ -1,3 +1,3 @@
org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m
archash=7a2a357f6cfdc3725ce581093a0ced91f4474222
archash=989a78688268c97cb3baa9e3342c6f44d6738427