Fix coloring of warned attack styles
Fix coloring of warned attack styles for attack indicator plugin. This was in before, but probably got lost during the changes to use new UI comoponents. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
*/
|
||||
package net.runelite.client.plugins.attackindicator;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Point;
|
||||
@@ -57,6 +58,8 @@ public class AttackIndicatorOverlay extends Overlay
|
||||
}
|
||||
|
||||
final String attackStyleString = plugin.getAttackStyle().getName();
|
||||
|
||||
panelComponent.setTitleColor(plugin.isWarnedSkillSelected() ? Color.RED : Color.WHITE);
|
||||
panelComponent.setTitle(attackStyleString);
|
||||
panelComponent.setWidth(COMPONENT_WIDTH);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user