From 5a3733b5b67212d9bcb088f98cb78dc611a74b5f Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 6 Oct 2020 13:46:19 +0300 Subject: [PATCH] Fix selecting stickers in Replies section. --- Telegram/SourceFiles/history/view/history_view_list_widget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp index dbca99ca96..b841a248d9 100644 --- a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp +++ b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp @@ -2094,7 +2094,8 @@ void ListWidget::mouseActionStart( if (isPressInSelectedText(dragState)) { _mouseAction = MouseAction::PrepareDrag; // start text drag } else if (!_pressWasInactive) { - if (requiredToStartDragging(pressElement)) { + if (requiredToStartDragging(pressElement) + && _pressState.pointState != PointState::Outside) { _mouseAction = MouseAction::PrepareDrag; } else { if (dragState.afterSymbol) ++_mouseTextSymbol;