mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fixed desync of repaint of userpics and messages while swipe-on-reply.
This commit is contained in:
parent
7f29d269a3
commit
1f4516028c
2 changed files with 2 additions and 2 deletions
|
@ -587,8 +587,8 @@ void HistoryInner::setupSwipeReply() {
|
|||
const auto changed = (_gestureHorizontal.msgBareId != data.msgBareId)
|
||||
|| (_gestureHorizontal.translation != data.translation)
|
||||
|| (_gestureHorizontal.reachRatio != data.reachRatio);
|
||||
_gestureHorizontal = data;
|
||||
if (changed) {
|
||||
_gestureHorizontal = data;
|
||||
const auto item = history->peer->owner().message(
|
||||
history->peer->id,
|
||||
MsgId{ data.msgBareId });
|
||||
|
|
|
@ -885,8 +885,8 @@ void RepliesWidget::setupSwipeReply() {
|
|||
const auto changed = (_gestureHorizontal.msgBareId != data.msgBareId)
|
||||
|| (_gestureHorizontal.translation != data.translation)
|
||||
|| (_gestureHorizontal.reachRatio != data.reachRatio);
|
||||
_gestureHorizontal = data;
|
||||
if (changed) {
|
||||
_gestureHorizontal = data;
|
||||
const auto item = _history->peer->owner().message(
|
||||
_history->peer->id,
|
||||
MsgId{ data.msgBareId });
|
||||
|
|
Loading…
Add table
Reference in a new issue