[quadrapassel/gnome-3-8] Fix bug where falling block shadow would get missing
- From: Mario Wenzel <mariowenzel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [quadrapassel/gnome-3-8] Fix bug where falling block shadow would get missing
- Date: Thu, 18 Jul 2013 13:03:57 +0000 (UTC)
commit 84d6789e882bb6bcbca602e325330048ff95b175
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]