2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +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)) {
_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;