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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user