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 <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Diff
src/kits/tracker/PoseView.cpp | 3 +++
1 file changed, 3 insertions(+)
@@ -7470,6 +7470,9 @@
if (fSelectionRectInfo.isDragging)
_EndSelectionRect();
DragStop();
int32 index;
BPose* pose = FindPose(where, &index);
uint32 lastButtons = Window()->CurrentMessage()->FindInt32("last_buttons");