Erwan
-fix issue 119
This commit is contained in:
@@ -175,6 +175,7 @@ void CardSelector::Update(float dt)
|
||||
if ((c->x + CardGui::Width / 2 > position - CardGui::BigWidth / 2) &&
|
||||
(c->x - CardGui::Width / 2 < position + CardGui::BigWidth / 2))
|
||||
position = CardGui::BigWidth / 2 - 10;
|
||||
if (position < CardGui::BigWidth / 2) position = CardGui::BigWidth / 2;
|
||||
bigpos.x = position;
|
||||
bigpos.Update(dt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user