diff options
Diffstat (limited to 'ui/app_list')
-rw-r--r-- | ui/app_list/views/app_list_item_view.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ui/app_list/views/app_list_item_view.cc b/ui/app_list/views/app_list_item_view.cc index 3f3de67..e481cb4 100644 --- a/ui/app_list/views/app_list_item_view.cc +++ b/ui/app_list/views/app_list_item_view.cc @@ -336,14 +336,10 @@ void AppListItemView::OnGestureEvent(ui::GestureEvent* event) { SetTouchDragging(true); event->SetHandled(); break; + case ui::ET_GESTURE_LONG_TAP: case ui::ET_GESTURE_END: - if (touch_dragging_) { + if (touch_dragging_) SetTouchDragging(false); - - gfx::Point location(event->location()); - ConvertPointToScreen(this, &location); - ShowContextMenu(location, true); - } break; default: break; |