Commit ae30fcae authored by Stephan Assmus's avatar Stephan Assmus

cosmetic fix (drop mark would reappear if SHIFT was pressed)

parent eb8afecc
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* ListViews.h: BeOS interface list view class implementation * ListViews.h: BeOS interface list view class implementation
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN * Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: ListViews.cpp,v 1.3 2003/02/01 12:01:11 stippi Exp $ * $Id: ListViews.cpp,v 1.4 2003/02/02 11:29:12 stippi Exp $
* *
* Authors: Stephan Aßmus <stippi@yellowbites.com> * Authors: Stephan Aßmus <stippi@yellowbites.com>
* *
...@@ -370,6 +370,7 @@ DragSortableListView::MouseMoved(BPoint where, uint32 transit, const BMessage *m ...@@ -370,6 +370,7 @@ DragSortableListView::MouseMoved(BPoint where, uint32 transit, const BMessage *m
else else
{ {
_RemoveDropAnticipationRect(); _RemoveDropAnticipationRect();
fDragMessageCopy.what = 0;
BListView::MouseMoved(where, transit, msg); BListView::MouseMoved(where, transit, msg);
} }
} }
...@@ -382,6 +383,7 @@ DragSortableListView::MouseUp( BPoint where ) ...@@ -382,6 +383,7 @@ DragSortableListView::MouseUp( BPoint where )
{ {
// remove drop mark // remove drop mark
_SetDropAnticipationRect( BRect( 0.0, 0.0, -1.0, -1.0 ) ); _SetDropAnticipationRect( BRect( 0.0, 0.0, -1.0, -1.0 ) );
fDragMessageCopy.what = 0;
BListView::MouseUp( where ); BListView::MouseUp( where );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment