Cast bar "fill up" not smooth
Eric-Johnston opened this issue ยท 7 comments
Hey there, so when you're casting a spell and the bar is "filling up" it seems to do it in chunks, instead of it being smooth and fluid. Is this intended?
From what I tested it's only the Texture/StatusBar part that aren't smooth. The Spark has no issue.
I think the issue comes from timestamps being stored in seconds instead of milliseconds which causes a precision issue when given to barStatusBar min and max (probably doesn't keep the values with full precision).
I fixed it by changing the barStatusBar min and max values system to 0
to 1
(% progress) instead of timestamps (startTime
to endTime
) and adapting the rest to that.
Is that fix already pushed? I downloaded the newest Version and also have this problem.
@Zwyk You can maybe fork it and pull a request !
@dutrieux I got in contact with Zwyk, @InTrustABC Zwyk's gonna be giving a helping hand and an update should be put out soon
@Zwyk's code is added to the master branch now, cast bar lag is fixed.