[quadrapassel] Fix bug where falling block shadow would get missing
- From: Mario Wenzel <mariowenzel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [quadrapassel] Fix bug where falling block shadow would get missing
- Date: Thu, 18 Jul 2013 13:04:34 +0000 (UTC)
commit b8d1ae902b89e7e3d055d3ab8462f6412e8812be
Author: Mario Wenzel <maweki gmail com>
Date: Sun Jun 16 15:05:32 2013 +0200
Fix bug where falling block shadow would get missing
The shape shadow does not get reset so if a new game starts
the group it is being rendered to, no longer exists. The shape
gets reset with a new game.
see https://bugzilla.gnome.org/show_bug.cgi?id=702387
src/game-view.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/game-view.vala b/src/game-view.vala
index 2efb093..d2df251 100644
--- a/src/game-view.vala
+++ b/src/game-view.vala
@@ -21,6 +21,7 @@ public class GameView : GtkClutter.Embed
/* Remove any existing block */
blocks.remove_all ();
playing_field.remove_all ();
+ shape_shadow = null;
/* Add in the current blocks */
if (game.shape != null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]