mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 01:00:22 +02:00
Cocoa: Fix #40571 in TCocoaContext.DrawEdge()
This commit is contained in:
parent
d68420e381
commit
a7c161756a
@ -2105,13 +2105,11 @@ const
|
||||
);
|
||||
var
|
||||
I: Integer;
|
||||
rect: TRect;
|
||||
begin
|
||||
rect:= ARect;
|
||||
for I := 0 to FrameWidth - 1 do
|
||||
begin
|
||||
DrawEdge(rect, Edge[Style], BF_RECT or BF_ADJUST);
|
||||
InflateRect(rect,-1,-1);
|
||||
DrawEdge(aRect, Edge[Style], BF_RECT);
|
||||
InflateRect(aRect,-1,-1);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user