Tracker: Clear drag data on MouseUp().
The same is done at the top of MouseDown. Fixes #19402. Change-Id: I75fe2249a585612c859d80a7a71825b5cb1b1df8 Reviewed-on: https://review.haiku-os.org/c/haiku/+/10026 Reviewed-by: waddlesplash <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
5388208c0b
commit
b5884b112e
@@ -7470,6 +7470,9 @@ BPoseView::MouseUp(BPoint where)
|
|||||||
if (fSelectionRectInfo.isDragging)
|
if (fSelectionRectInfo.isDragging)
|
||||||
_EndSelectionRect();
|
_EndSelectionRect();
|
||||||
|
|
||||||
|
// dispose of drag data from previous drag lazily
|
||||||
|
DragStop();
|
||||||
|
|
||||||
int32 index;
|
int32 index;
|
||||||
BPose* pose = FindPose(where, &index);
|
BPose* pose = FindPose(where, &index);
|
||||||
uint32 lastButtons = Window()->CurrentMessage()->FindInt32("last_buttons");
|
uint32 lastButtons = Window()->CurrentMessage()->FindInt32("last_buttons");
|
||||||
|
|||||||
Reference in New Issue
Block a user