Author: cazfi
Date: Fri Nov  6 22:06:42 2015
New Revision: 30450

URL: http://svn.gna.org/viewcvs/freeciv?rev=30450&view=rev
Log:
Always fully redraw screen after sliding it, if zoom enabled (zoom factor not 
exactly 1.0)

See patch #6522

Modified:
    branches/S2_6/client/mapview_common.c

Modified: branches/S2_6/client/mapview_common.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/mapview_common.c?rev=30450&r1=30449&r2=30450&view=diff
==============================================================================
--- branches/S2_6/client/mapview_common.c       (original)
+++ branches/S2_6/client/mapview_common.c       Fri Nov  6 22:06:42 2015
@@ -536,7 +536,7 @@
   common_y0 = MAX(old_gui_y0, gui_y0);
   common_y1 = MIN(old_gui_y0, gui_y0) + height;
 
-  if (mapview.can_do_cached_drawing
+  if (mapview.can_do_cached_drawing && !zoom_is_enabled()
       && common_x1 > common_x0 && common_y1 > common_y0) {
     /* Do a partial redraw only.  This means the area of overlap (a
      * rectangle) is copied.  Then the remaining areas (two rectangles)


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to