LazMapViewer: Use TMapView.InactiveColor in TMapView.DoDrawTile.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8831 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2023-06-11 22:33:43 +00:00
parent afa88e8709
commit f0272f0fef

View File

@ -831,7 +831,7 @@ begin
DrawingEngine.DrawLazIntfImage(X, Y, TileImg);
end
else begin
DrawingEngine.BrushColor := clWhite;
DrawingEngine.BrushColor := InactiveColor;
DrawingEngine.BrushStyle := bsSolid;
DrawingEngine.FillRect(X, Y, X + TILE_SIZE, Y + TILE_SIZE);
end;