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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user