mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 14:49:29 +02:00
LCL/gtk2: Fix polygon painting when Pen.Style = psClear and Winding = true. Issue #38852, patch by Anton Kavalenka.
git-svn-id: trunk@65088 -
This commit is contained in:
parent
4b9ae7f263
commit
426f9a5353
@ -6921,7 +6921,7 @@ begin
|
||||
|
||||
// create the PointsArray, which is a copy of Points moved by the DCOrigin
|
||||
// only if needed
|
||||
if (DevCtx.IsNullPen and (DevCtx.IsNullBrush or Winding)) then
|
||||
if DevCtx.IsNullPen and DevCtx.IsNullBrush then
|
||||
PointArray := nil
|
||||
else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user