Meanmelter
February 3rd, 2021, 23:27
Not sure how long this has been a bug, but it seems the third parameter does not clip properly when you compare it to the rest, as in most instances it seems to stretch out the image. It only clips properly if it is set to 100, 50, or 0
Given that this was recently changed to percentages from 100-0 I would think that this bug may have started from there
I tried to find documentation, thinking maybe the third parameter has something weird, but all I could find was this https://www.fantasygrounds.com/refdoc/bitmapwidget.xcp which does not reference said feature which can be found in Core-RPG under manager_token.lua
Mock health bar at 0,0,100,100
43441
Mock health bar at 0,0,95,100
43442
Mock health bar at 0,0,50,100
43443
Here is an example using parameter 1, which is the opposite X-axis at 5% and then at 50% for visual reference at what i believe is the expected output (0% as it's the starting clip region, being inverted with the last two parameters)
43445
43446
Given that this was recently changed to percentages from 100-0 I would think that this bug may have started from there
I tried to find documentation, thinking maybe the third parameter has something weird, but all I could find was this https://www.fantasygrounds.com/refdoc/bitmapwidget.xcp which does not reference said feature which can be found in Core-RPG under manager_token.lua
Mock health bar at 0,0,100,100
43441
Mock health bar at 0,0,95,100
43442
Mock health bar at 0,0,50,100
43443
Here is an example using parameter 1, which is the opposite X-axis at 5% and then at 50% for visual reference at what i believe is the expected output (0% as it's the starting clip region, being inverted with the last two parameters)
43445
43446