mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 12:39:29 +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);
|
||||
if (sfMouseSelecting in fStateFlags) and ((fScrollDeltaX <> 0) or (fScrollDeltaY <> 0)) then
|
||||
Include(fStateFlags, sfMouseDoneSelecting);
|
||||
if sfIsDragging in fStateFlags then
|
||||
FBlockSelection.DecPersistentLock;
|
||||
end;
|
||||
if sfIsDragging in fStateFlags then
|
||||
FBlockSelection.DecPersistentLock;
|
||||
end
|
||||
else
|
||||
if MouseCapture and (not(sfIsDragging in fStateFlags))
|
||||
|
Loading…
Reference in New Issue
Block a user