J :
* Create selection zones to remember the last card the cursor was on.
This commit is contained in:
@@ -160,9 +160,9 @@ int GuiGraveyard::receiveEventPlus(WEvent* e)
|
||||
{
|
||||
CardView* t;
|
||||
if (event->card->view)
|
||||
t = NEW CardView(event->card, *(event->card->view));
|
||||
t = NEW CardView(CardSelector::nullZone, event->card, *(event->card->view));
|
||||
else
|
||||
t = NEW CardView(event->card, x, y);
|
||||
t = NEW CardView(CardSelector::nullZone, event->card, x, y);
|
||||
t->x = x + Width / 2; t->y = y + Height / 2; t->zoom = 0.6; t->alpha = 0;
|
||||
cards.push_back(t);
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user