If Moved() has been called, Clicked() can't be called anymore; this actually
fixes a crashing bug when dropping a column too fast. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22032 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -543,7 +543,7 @@ ColumnTrackState::MouseUp(BPoint where)
|
|||||||
{
|
{
|
||||||
// if it is pressed shortly and not moved, it is a click
|
// if it is pressed shortly and not moved, it is a click
|
||||||
// all else is a track
|
// all else is a track
|
||||||
if (system_time() <= fPastClickTime)
|
if (system_time() <= fPastClickTime && !fHasMoved)
|
||||||
Clicked(where);
|
Clicked(where);
|
||||||
else
|
else
|
||||||
Done(where);
|
Done(where);
|
||||||
|
|||||||
Reference in New Issue
Block a user