mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 03:20:18 +02:00
Object Inspector: Test code for redraw errors in some Windows machines. Cleanup.
git-svn-id: trunk@46885 -
This commit is contained in:
parent
5b6597fee6
commit
a8e80b673c
@ -2630,8 +2630,11 @@ begin
|
||||
begin
|
||||
if FCurrentEdit is TCheckBox then
|
||||
begin
|
||||
TCheckBox(FCurrentEdit).Top := EditCompRect.Top;
|
||||
TCheckBox(FCurrentEdit).Left := EditCompRect.Left;
|
||||
FCurrentEdit.Top := EditCompRect.Top;
|
||||
FCurrentEdit.Left := EditCompRect.Left;
|
||||
// For testing: Try to prevent redraw errors in some Windows machines.
|
||||
//Canvas.Brush.Color := FBackgroundColor;
|
||||
//Canvas.FillRect(EditCompRect);
|
||||
end
|
||||
else
|
||||
FCurrentEdit.BoundsRect:=EditCompRect;
|
||||
|
Loading…
Reference in New Issue
Block a user