Commit e39a1d27 authored by Ktulho's avatar Ktulho 👶🏻

playersPanel: fix position dogTag

parent c8c47d24
Pipeline #239301701 passed with stages
in 2 minutes and 53 seconds
......@@ -18,6 +18,8 @@ package com.xvm.battle.classic.playersPanel
{
private static const SQUAD_ITEMS_AREA_WIDTH:int = 25;
private static const DOG_TAG_OFFSET:int = -30;
private var ui:PlayersPanelListItem;
private var mopt_removeSquadIcon:Boolean;
......@@ -83,6 +85,7 @@ package com.xvm.battle.classic.playersPanel
{
ui.x = -(lastX + (mopt_removeSquadIcon ? 0 : SQUAD_ITEMS_AREA_WIDTH));
ui.dynamicSquad.x = -ui.x;
ui.dogTag.x = -ui.x + (mopt_removeSquadIcon ? 0 : DOG_TAG_OFFSET);
}
override protected function createExtraFields():void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment