gnome-games r8145 - trunk/aisleriot



Author: jclinton
Date: Tue Oct 21 19:45:06 2008
New Revision: 8145
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8145&view=rev

Log:
Set the position of the moving group when beginning drag.

Modified:
   trunk/aisleriot/board.c

Modified: trunk/aisleriot/board.c
==============================================================================
--- trunk/aisleriot/board.c	(original)
+++ trunk/aisleriot/board.c	Tue Oct 21 19:45:06 2008
@@ -1060,6 +1060,7 @@
   height = priv->card_size.height + (num_moving_cards - 1) * hslot->pixeldy;
 
   priv->moving_cards_group = g_object_ref_sink (clutter_group_new ());
+  clutter_actor_set_position (priv->moving_cards_group, x, y);
 
   /* FIXMEchpe: RTL issue: this doesn't work right when we allow dragging of
    * more than one card from a expand-right slot. (But right now no game .scm



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]