v2.2.0: fixed MobTitle layout using non-scaled sprite width
This commit is contained in:
@@ -80,7 +80,7 @@ public class WndInfoMob extends WndTitledMessage {
|
||||
extraBuffSpace += 8;
|
||||
} while (extraBuffSpace <= 40 && !buffs.allBuffsVisible());
|
||||
|
||||
name.setPos(x + image.width + GAP,
|
||||
name.setPos(x + image.width() + GAP,
|
||||
image.height() > name.height() ? y +(image.height() - name.height()) / 2 : y);
|
||||
|
||||
health.setRect(image.width() + GAP, name.bottom() + GAP, w, health.height());
|
||||
|
||||
Reference in New Issue
Block a user