From f0272f0fef02fcf8e57e70c786c11ea20b38f555 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Sun, 11 Jun 2023 22:33:43 +0000 Subject: [PATCH] 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 --- components/lazmapviewer/source/mvmapviewer.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lazmapviewer/source/mvmapviewer.pas b/components/lazmapviewer/source/mvmapviewer.pas index 027559dfd..6759aa663 100644 --- a/components/lazmapviewer/source/mvmapviewer.pas +++ b/components/lazmapviewer/source/mvmapviewer.pas @@ -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;