[libchamplain: 38/45] Add descriptive comment to show_zoom_actor hwrap behavior.



commit 14f7d5eed78fd8f505f359d19c663747bb82a886
Author: Marius Stanciu <stanciumarius94 gmail com>
Date:   Sun Aug 7 20:50:43 2016 +0300

    Add descriptive comment to show_zoom_actor hwrap behavior.

 champlain/champlain-view.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index 7c47fe0..3824c3c 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -3441,6 +3441,10 @@ show_zoom_actor (ChamplainView *view,
         }
       clutter_actor_add_child (zoom_actor, tile_container);
 
+      /* The tile_container is cloned and its clones are also added to the zoom_actor
+       * in order to horizontally wrap. Moreover, the old clones are hidden while the zooming
+       * animation is runnning.
+       */
       if (priv->hwrap) 
         {
           GList *old_clone = priv->map_clones;


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