[libchamplain] Position tiles even when they don't need to be loaded



commit 412e09c255da3f280a08658fa263513b888e1d79
Author: JiÅ?í Techet <techet gmail com>
Date:   Thu Mar 18 22:15:18 2010 +0100

    Position tiles even when they don't need to be loaded
    
    Signed-off-by: JiÅ?í Techet <techet gmail com>

 champlain/champlain-view.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index 41af442..ee1b1a4 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -2268,7 +2268,10 @@ view_load_visible_tiles (ChamplainView *view)
           zoom_level != priv->zoom_level)
         clutter_container_remove_actor (CLUTTER_CONTAINER (priv->map_layer), CLUTTER_ACTOR (tile));
       else
-        tile_map[(tile_y - y_first) * x_count + (tile_x - x_first)] = TRUE;
+        {
+          tile_map[(tile_y - y_first) * x_count + (tile_x - x_first)] = TRUE;
+          view_position_tile (view, tile);
+        }
     }
 
   g_list_free (children);



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