mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
[Mobile] Support for highlighted players
- Draws rectangle outline on the Player Avatar (uses same color outline with highlighted cards)
This commit is contained in:
@@ -166,5 +166,9 @@ public class VAvatar extends FDisplayObject {
|
||||
g.drawRect(w / 16f, Color.LIME, 0, 0, w, h);
|
||||
g.setAlphaComposite(oldAlpha);
|
||||
}
|
||||
//highlighted
|
||||
if (MatchController.instance.isHighlighted(player)) {
|
||||
g.drawRect(w / 16f, Color.MAGENTA, 0, 0, w, h);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user