Browse Source

fix graphical issue with non squared maps

Laserlicht 1 month ago
parent
commit
293a1a7045
1 changed files with 3 additions and 0 deletions
  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)