Fix selecting stickers in Replies section.

This commit is contained in:
John Preston 2020-10-06 13:46:19 +03:00
parent 22a85016e3
commit 5a3733b5b6
1 changed files with 2 additions and 1 deletions

View File

@ -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;