[four-in-a-row/arnaudb/wip/gtk4: 84/92] Try a fix, 2.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [four-in-a-row/arnaudb/wip/gtk4: 84/92] Try a fix, 2.
- Date: Sat, 26 Sep 2020 10:29:08 +0000 (UTC)
commit b45ad6aaf3c15c97072600df599b8cce995284a4
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sun Apr 19 23:35:56 2020 +0200
Try a fix, 2.
src/four-in-a-row.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/four-in-a-row.vala b/src/four-in-a-row.vala
index c26e6b4..973c079 100644
--- a/src/four-in-a-row.vala
+++ b/src/four-in-a-row.vala
@@ -505,7 +505,7 @@ private class FourInARow : Gtk.Application
var temp = new Animate (0, this, 2 * n);
timeout = Timeout.add (SPEED_BLINK, temp.exec);
while (timeout != 0)
- main_iteration ();
+ window.queue_draw ();
}
}
@@ -911,7 +911,7 @@ private class FourInARow : Gtk.Application
column_moveto = c;
while (timeout != 0)
- main_iteration ();
+ window.queue_draw ();
anim = AnimID.HINT;
var temp = new Animate (0, this);
timeout = Timeout.add (SPEED_MOVE, temp.exec);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]