[CF 1268] Fill bar up - small display bug
tmw-issue-import opened this issue ยท 1 comments
The bar displays as filled for a split second at the start of the animation. The lower you set TMW's update interval the less it's noticeable (it's still infrequently visible at 0 sec interval), so it's not really that big of an issue I suppose.
I'm using spell cooldown bars to represent individual charges of Ironskin Brew (3 charges 3 bars) with conditions hiding bars according to charges.
Here's a slow-mo video of it at 0.06 sec interval recorded @ 60 fps: https://youtu.be/K6feR65UUpg
The top number is a GetTime via. a counter via. the Counter dogtag and the bottom number is the Duration dogtag for an Ironskin Brew icon off-screen.
I'm not entirely sure if my CPU will be helpful info but I've got an AMD fx6300 @ ~4.313 GHz & the game was running @ ~61.5 fps with vsync off during the recording.
Again it's not a huge deal but if you've got any ideas as to how I could work around this with some fancy magic that would be really sweet :^D
Edit: figured I might as well throw in the relevant import string http://pastebin.com/sBwfYNL9
Posted by CurseForge user Ghath519 | Imported from CurseForge issue #1268 | Raw
Something is weird with the way that Blizzard's statusbars update now. For some reason, when you set the value, the actual texture that represents the progress of the bar isn't updated until 1 or 2 frames after you call it. No idea why its like this.
Ended up having to reverse-engineer a bit of the way that statusbars work to force the texture to be updated immediately whenever the percentage of the bar changes by more than 2%.
Posted by CurseForge user Cybeloras