Change Pen.Mode to pmNotXor for dark background.

The hint error is fixed in prior svn.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1587 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
yangjixian
2011-04-21 01:22:12 +00:00
parent 169d228808
commit c84f1319f7

View File

@ -670,7 +670,8 @@ var
begin
if FToolDrag = tdNone then Exit;
Canvas.Pen.Mode := pmNot;
// Canvas.Pen.Mode := pmNot;
Canvas.Pen.Mode := pmNotXor;
Canvas.Brush.Style := bsClear;
S := PictureToClient(Point(X1, Y1));