From 9dd20be7406a9a143227e05893400d54d8c8cac6 Mon Sep 17 00:00:00 2001 From: sharlottes Date: Wed, 13 Apr 2022 00:15:18 +0900 Subject: [PATCH] select highlighting --- src/UnitInfo/ui/windows/PlayerDisplay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UnitInfo/ui/windows/PlayerDisplay.java b/src/UnitInfo/ui/windows/PlayerDisplay.java index a978f88..eeae6c8 100644 --- a/src/UnitInfo/ui/windows/PlayerDisplay.java +++ b/src/UnitInfo/ui/windows/PlayerDisplay.java @@ -95,7 +95,7 @@ public class PlayerDisplay extends WindowTable implements Updatable { public void draw(){ super.draw(); - Draw.color(Pal.gray); + Draw.color(target==user?Pal.accent:Pal.gray); Draw.alpha(parentAlpha); Lines.stroke(Scl.scl(4f)); Lines.rect(x, y, width, height);