Merge pull request #1527 from Damhan/feature/playerindicators1516
playerindicators: fix agility icon spacing
This commit is contained in:
@@ -160,7 +160,10 @@ public class PlayerIndicatorsOverlay extends Overlay
|
||||
|
||||
if (plugin.getAgilityFormat() == PlayerIndicatorsPlugin.AgilityFormats.ICONS)
|
||||
{
|
||||
final int width = graphics.getFontMetrics().stringWidth(name);
|
||||
|
||||
final int width = plugin.isShowCombatLevel() ? graphics.getFontMetrics().stringWidth(name)
|
||||
+ ACTOR_HORIZONTAL_TEXT_MARGIN : graphics.getFontMetrics().stringWidth(name);
|
||||
|
||||
final int height = graphics.getFontMetrics().getHeight();
|
||||
if (level >= plugin.getAgilityFirstThreshold())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user