2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-03 16:05:57 +00:00

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

View File

@@ -2094,7 +2094,8 @@ void ListWidget::mouseActionStart(
if (isPressInSelectedText(dragState)) { if (isPressInSelectedText(dragState)) {
_mouseAction = MouseAction::PrepareDrag; // start text drag _mouseAction = MouseAction::PrepareDrag; // start text drag
} else if (!_pressWasInactive) { } else if (!_pressWasInactive) {
if (requiredToStartDragging(pressElement)) { if (requiredToStartDragging(pressElement)
&& _pressState.pointState != PointState::Outside) {
_mouseAction = MouseAction::PrepareDrag; _mouseAction = MouseAction::PrepareDrag;
} else { } else {
if (dragState.afterSymbol) ++_mouseTextSymbol; if (dragState.afterSymbol) ++_mouseTextSymbol;