mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Start drag&drop when mouse move > DragThreshold
This commit is contained in:
parent
3bfcf9e71f
commit
3bb751b76c
1 changed files with 2 additions and 1 deletions
|
|
@ -885,7 +885,8 @@ begin
|
|||
else
|
||||
|
||||
// if we are about to start dragging
|
||||
if FStartDrag then
|
||||
if FStartDrag and ((Abs(FDragStartPoint.X - X) > DragManager.DragThreshold) or
|
||||
(Abs(FDragStartPoint.Y - Y) > DragManager.DragThreshold)) then
|
||||
begin
|
||||
FStartDrag := False;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue