mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 20:42:05 +02:00
LCL: Canvas.GradientFill covers the same area as Canvas.FillRect (issue #13636)
git-svn-id: trunk@19798 -
This commit is contained in:
parent
9f6417e73c
commit
040222e329
@ -430,7 +430,7 @@ begin
|
||||
Count := ARect.Right - ARect.Left;
|
||||
|
||||
Changing;
|
||||
for I := 0 to Count do
|
||||
for I := 0 to Count-1 do
|
||||
begin
|
||||
Pen.Color := RGBToColor(RStart + (i * RDiff) div Count,
|
||||
GStart + (i * GDiff) div Count,
|
||||
|
Loading…
Reference in New Issue
Block a user