Editoropts/Color: Fix dropdown for frame edges

git-svn-id: trunk@34911 -
This commit is contained in:
martin 2012-01-24 21:35:56 +00:00
parent c476451318
commit 3f6ce14ac5

View File

@ -550,12 +550,12 @@ begin
pen.Color := PCol;
Pen.Style := psSolid;
case Index of
0: Rectangle(r);
1: begin
ord(sfeAround): Rectangle(r);
ord(sfeBottom): begin
MoveTo(r.Left, r.Bottom);
LineTo(r.Right-1, r.Bottom);
end;
2: begin
ord(sfeLeft): begin
MoveTo(r.Left, r.Top);
LineTo(r.Left, r.Bottom-1);
end;