1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 07:15:59 +02:00

Improved dragging list view items

This commit is contained in:
Brian Fiete 2021-02-08 08:51:02 -08:00
parent fd001a2f69
commit 66adc12f73
2 changed files with 8 additions and 0 deletions

View file

@ -796,6 +796,13 @@ namespace Beefy.theme.dark
mDragKind = .None;
}
if (Math.Abs(dY) < mSelfHeight * 0.21f)
{
mDragKind = .None;
mDragTarget = null;
return;
}
delete mCurDragEvent;
mCurDragEvent = new DragEvent();
mCurDragEvent.mX = x;