Selaa lähdekoodia

fix graphical issue with non squared maps

Laserlicht 1 kuukausi sitten
vanhempi
sitoutus
293a1a7045
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      client/adventureMap/CMinimap.cpp

+ 3 - 0
client/adventureMap/CMinimap.cpp

@@ -244,7 +244,10 @@ void CMinimap::onMapViewMoved(const Rect & visibleArea, int mapLevel)
 		update();
 	}
 	else
+	{
+		setRedrawParent(true); // needed for non square map to redraw black background when viewarea rectangle is moved
 		redraw();
+	}
 }
 
 void CMinimap::setAIRadar(bool on)