Cocoa: Fix #40571 in TCocoaContext.DrawEdge()

This commit is contained in:
rich2014 2023-10-25 22:06:13 +08:00
parent 586323470e
commit 8d0f10ed90

View File

@ -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;