mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-08 10:39:15 +02:00
Editoropts/Color: Fix dropdown for frame edges
git-svn-id: trunk@34911 -
This commit is contained in:
parent
c476451318
commit
3f6ce14ac5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user