When checking double click with jitter threshold, make sure that both clicks are also on the same list item. Thanks stippi for pointing out this oversight!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30149 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent
2009-04-13 22:10:24 +00:00
parent ad491b436f
commit 86656c6b30
+2 -1
View File
@@ -326,7 +326,8 @@ BListView::MouseDown(BPoint point)
if (timeDelta < doubleClickSpeed
&& fabs(delta.x) < kDoubleClickTresh
&& fabs(delta.y) < kDoubleClickTresh)
&& fabs(delta.y) < kDoubleClickTresh
&& fTrack->last_index == index)
doubleClick = true;
if (doubleClick && index >= fFirstSelected && index <= fLastSelected) {