gnome-games r8164 - trunk/aisleriot



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

Log:
When updating a slot, cancel all animations so that you can grab cards
that are animated.

Modified:
   trunk/aisleriot/board.c

Modified: trunk/aisleriot/board.c
==============================================================================
--- trunk/aisleriot/board.c	(original)
+++ trunk/aisleriot/board.c	Tue Oct 21 19:47:21 2008
@@ -965,6 +965,9 @@
                            slot->slot_renderer, NULL);
   }
 
+  aisleriot_slot_renderer_set_animations
+    (AISLERIOT_SLOT_RENDERER (slot->slot_renderer), 0, NULL);
+
   aisleriot_slot_renderer_set_highlight
     (AISLERIOT_SLOT_RENDERER (slot->slot_renderer),
      priv->show_highlight ? highlight_start_card_id : G_MAXUINT);



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