v1.3.0: fixed a small visual bug with buff icons on full UI
This commit is contained in:
@@ -240,7 +240,7 @@ public class BuffIndicator extends Component {
|
||||
public void updateIcon(){
|
||||
((BuffIcon)icon).refresh(buff);
|
||||
//round up to the nearest pixel if <50% faded, otherwise round down
|
||||
if (!large) {
|
||||
if (!large || buff.iconTextDisplay().isEmpty()) {
|
||||
text.visible = false;
|
||||
float fadeHeight = buff.iconFadePercent() * icon.height();
|
||||
float zoom = (camera() != null) ? camera().zoom : 1;
|
||||
|
||||
Reference in New Issue
Block a user