[gnome-nibbles/arnaudb/wip/gtk4: 173/188] Fix reversing worms.




commit 7fb01148b888e5be160d4a71e6470a4a65f4c2e0
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Jun 16 17:50:51 2020 +0200

    Fix reversing worms.

 src/nibbles-view.vala | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/nibbles-view.vala b/src/nibbles-view.vala
index a55bb5a..abb54d0 100644
--- a/src/nibbles-view.vala
+++ b/src/nibbles-view.vala
@@ -682,7 +682,8 @@ private class NibblesView : Widget
 
     private void worm_reversed_cb (Worm worm)
     {
-//        var actors = worm_actors.@get (worm);
+        var actors = worm_actors.@get (worm);
+        actors.widgets.reverse ();
 
 //        var count = 0;
 //        foreach (var actor in actors.get_children ())


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