[libchamplain: 28/45] Reposition user_layers after disabling horizontal_wrap.



commit c878dfbf663ecccadae441ae971de87851ce242a
Author: Marius Stanciu <stanciumarius94 gmail com>
Date:   Mon Jul 18 17:16:26 2016 +0300

    Reposition user_layers after disabling horizontal_wrap.

 champlain/champlain-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index 3b277b2..48a5031 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -3292,6 +3292,7 @@ champlain_view_set_horizontal_wrap (ChamplainView *view,
       priv->user_layer_slots = NULL;
       g_signal_handlers_disconnect_by_func (priv->viewport, viewport_motion_cb, view);
       g_signal_handlers_disconnect_by_func (priv->viewport, viewport_press_cb, view);
+      clutter_actor_set_x (priv->user_layers, 0);
     }
   resize_viewport (view);
 


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