[gnome-nibbles/arnaudb/wip/gtk4: 55/62] Fix reversing worms.



commit 35475b3f78e56f71cd872798622dc24858ec989f
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 a8e6fcc..94a24dd 100644
--- a/src/nibbles-view.vala
+++ b/src/nibbles-view.vala
@@ -686,7 +686,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]