mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-02 06:23:35 +01:00
lazreport: reduced overhead while moving
git-svn-id: trunk@16104 -
This commit is contained in:
parent
b340abac03
commit
b54c7c2d80
@ -3849,8 +3849,7 @@ begin
|
||||
LinePanel.Parent := Self;
|
||||
with (Sender as TControl) do
|
||||
p := Self.ScreenToClient(Parent.ClientToScreen(Point(Left, Top)));
|
||||
LinePanel.Left := p.X;
|
||||
LinePanel.Top := p.Y + 26;
|
||||
LinePanel.SetBounds(p.X,p.Y + 26,LinePanel.Width,LinePanel.Height);
|
||||
end;
|
||||
LinePanel.Visible := not LinePanel.Visible;
|
||||
end;
|
||||
@ -3906,8 +3905,7 @@ begin
|
||||
ColorSelector.Visible := not ColorSelector.Visible
|
||||
else
|
||||
begin
|
||||
ColorSelector.Left := p.X;
|
||||
ColorSelector.Top := p.Y + 26;
|
||||
with ColorSelector do SetBounds(p.X,p.Y + 26,Width,Height);
|
||||
ColorSelector.Visible := True;
|
||||
end;
|
||||
ClrButton := Sender as TSpeedButton;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user