* LCL/Paintbox: Better solution to previous commit (issue #40198).

This commit is contained in:
wp_xyz 2023-04-13 23:26:14 +02:00
parent 39a40b03c7
commit a2cd35663d

View File

@ -35,7 +35,8 @@ begin
Brush.Style := bsClear;
Rectangle(0, 0, Self.Width, Self.Height);
Line(0,0,Self.Width,Self.Height);
Line(Self.Width-1,0,-1,Self.Height);
Line(0,Self.Height-1,Self.Width-1, 0);
// Line(Self.Width-1,0,-1,Self.Height);
end;
exit;
end;