mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 03:29:28 +02:00
Designer: Cursor Cache Old Pos comparison adjusted (Similar to ded870b
)
This commit is contained in:
parent
203dbd08fd
commit
ead28bdcc6
@ -2642,8 +2642,6 @@ begin
|
||||
|
||||
OldMouseMovePos := LastMouseMovePos;
|
||||
LastMouseMovePos := GetFormRelativeMousePosition(Form);
|
||||
if (OldMouseMovePos.X = LastMouseMovePos.X) and (OldMouseMovePos.Y = LastMouseMovePos.Y) then
|
||||
Exit;
|
||||
|
||||
MouseMoveComponent := MouseDownComponent;
|
||||
if MouseMoveComponent = nil then
|
||||
@ -2684,6 +2682,9 @@ begin
|
||||
Exit;
|
||||
end;
|
||||
|
||||
if (OldMouseMovePos.X = LastMouseMovePos.X) and (OldMouseMovePos.Y = LastMouseMovePos.Y) then
|
||||
Exit;
|
||||
|
||||
if (Selection.SelectionForm = nil) or (Selection.SelectionForm = Form) then
|
||||
begin
|
||||
if Button = mbLeft then // left button pressed
|
||||
|
Loading…
Reference in New Issue
Block a user