mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 07:37:02 +02:00
LazReport, some times objects that are hidden by others in upper layer show up because clipping region of moving object enable them, make sure they are visible or not
git-svn-id: trunk@43272 -
This commit is contained in:
parent
94bd981f7f
commit
73bde22855
@ -1326,6 +1326,9 @@ var
|
||||
begin
|
||||
Rn := t.GetClipRgn(rtNormal);
|
||||
Result := CombineRgn(Rn, Rn, AClipRgn, RGN_AND) <> NULLREGION;
|
||||
if Result then
|
||||
// will this view be really visible?
|
||||
Result := CombineRgn(Rn, AClipRgn, R, RGN_AND) <> NULLREGION;
|
||||
DeleteObject(Rn);
|
||||
end;
|
||||
|
||||
@ -2613,7 +2616,7 @@ begin
|
||||
DrawPage(dmAll);
|
||||
// Invalidate;
|
||||
// DrawDialog(0,0);
|
||||
end
|
||||
end;
|
||||
|
||||
{$IFDEF DebugLR}
|
||||
DebugLnExit('TfrDesignerPage.MMove END');
|
||||
|
Loading…
Reference in New Issue
Block a user