mirror of
https://github.com/yawaflua/Informatis.git
synced 2025-12-11 15:56:21 +02:00
fixed color of item bar bug
This commit is contained in:
@@ -149,7 +149,7 @@ public class SBar extends Element{
|
||||
}
|
||||
|
||||
Draw.color(color, blinkColor, blink);
|
||||
float topWidthReal = width * computed;
|
||||
float topWidthReal = width * (Math.min(value, computed));
|
||||
|
||||
if(topWidthReal > Core.atlas.find("unitinfo-bar-top").width){
|
||||
top.draw(x, y, topWidthReal, height);
|
||||
|
||||
Reference in New Issue
Block a user