fix overlapping of phaseinfo/phase bar

the opponent cards will stack according to handsize
This commit is contained in:
Anthony Calosa
2017-03-04 04:24:10 +08:00
parent 8686fef96a
commit 9512e5c3db

View File

@@ -86,7 +86,10 @@ void GuiHandOpponent::Render()
(*it)->y = 2;
(*it)->zoom = 0.3f;
(*it)->Render(quad.get());
x += 18;
if(cards.size() > 12)
x += 240/cards.size();
else
x += 18;
}
}