ソースを参照

fix graphical issue with non squared maps

Laserlicht 1 ヶ月 前
コミット
293a1a7045
1 ファイル変更3 行追加0 行削除
  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)