mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-07 22:38:17 +02:00
LCL: Fix difference between rectangle fill and border when drawn by TLazCanvas.Rectangle().
This commit is contained in:
parent
6e38c6564c
commit
3685317e2b
@ -296,6 +296,8 @@ var
|
||||
begin
|
||||
b := Bounds;
|
||||
SortRect (b);
|
||||
dec(b.Right);
|
||||
dec(b.Bottom);
|
||||
|
||||
// Optimize when filling everything
|
||||
if (b.Left = 0) and (b.Top = 0) and (b.Right = Width) and (b.Bottom = Height)
|
||||
|
Loading…
Reference in New Issue
Block a user