mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 20:39:14 +02:00
SynEdit: Fixed Selection became persistent after drag operation. introduced in rev 21163 #742c44e3d0
git-svn-id: trunk@21165 -
This commit is contained in:
parent
f4fe7d4be2
commit
56790bc2d2
@ -2665,9 +2665,9 @@ begin
|
|||||||
fScrollTimer.Enabled := (fScrollDeltaX <> 0) or (fScrollDeltaY <> 0);
|
fScrollTimer.Enabled := (fScrollDeltaX <> 0) or (fScrollDeltaY <> 0);
|
||||||
if (sfMouseSelecting in fStateFlags) and ((fScrollDeltaX <> 0) or (fScrollDeltaY <> 0)) then
|
if (sfMouseSelecting in fStateFlags) and ((fScrollDeltaX <> 0) or (fScrollDeltaY <> 0)) then
|
||||||
Include(fStateFlags, sfMouseDoneSelecting);
|
Include(fStateFlags, sfMouseDoneSelecting);
|
||||||
if sfIsDragging in fStateFlags then
|
|
||||||
FBlockSelection.DecPersistentLock;
|
|
||||||
end;
|
end;
|
||||||
|
if sfIsDragging in fStateFlags then
|
||||||
|
FBlockSelection.DecPersistentLock;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if MouseCapture and (not(sfIsDragging in fStateFlags))
|
if MouseCapture and (not(sfIsDragging in fStateFlags))
|
||||||
|
Loading…
Reference in New Issue
Block a user