[Freeciv-Dev] (PR#10668) overview is centered wrongly after resizing the
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#10668) overview is centered wrongly after resizing the mapview |
From: |
"Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx> |
Date: |
Sat, 23 Oct 2004 13:36:32 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10668 >
Here is a patch.
jason
Index: client/mapview_common.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/mapview_common.c,v
retrieving revision 1.158
diff -u -r1.158 mapview_common.c
--- client/mapview_common.c 20 Oct 2004 15:36:12 -0000 1.158
+++ client/mapview_common.c 23 Oct 2004 20:35:58 -0000
@@ -2530,7 +2530,7 @@
if (map_exists() && can_client_change_view()) {
if (tile_size_changed) {
update_map_canvas_visible();
- refresh_overview_canvas();
+ center_tile_overviewcanvas(get_center_tile_mapcanvas());
redrawn = TRUE;
}
|
|