mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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)
|
const auto changed = (_gestureHorizontal.msgBareId != data.msgBareId)
|
||||||
|| (_gestureHorizontal.translation != data.translation)
|
|| (_gestureHorizontal.translation != data.translation)
|
||||||
|| (_gestureHorizontal.reachRatio != data.reachRatio);
|
|| (_gestureHorizontal.reachRatio != data.reachRatio);
|
||||||
_gestureHorizontal = data;
|
|
||||||
if (changed) {
|
if (changed) {
|
||||||
|
_gestureHorizontal = data;
|
||||||
const auto item = history->peer->owner().message(
|
const auto item = history->peer->owner().message(
|
||||||
history->peer->id,
|
history->peer->id,
|
||||||
MsgId{ data.msgBareId });
|
MsgId{ data.msgBareId });
|
||||||
|
|
|
@ -885,8 +885,8 @@ void RepliesWidget::setupSwipeReply() {
|
||||||
const auto changed = (_gestureHorizontal.msgBareId != data.msgBareId)
|
const auto changed = (_gestureHorizontal.msgBareId != data.msgBareId)
|
||||||
|| (_gestureHorizontal.translation != data.translation)
|
|| (_gestureHorizontal.translation != data.translation)
|
||||||
|| (_gestureHorizontal.reachRatio != data.reachRatio);
|
|| (_gestureHorizontal.reachRatio != data.reachRatio);
|
||||||
_gestureHorizontal = data;
|
|
||||||
if (changed) {
|
if (changed) {
|
||||||
|
_gestureHorizontal = data;
|
||||||
const auto item = _history->peer->owner().message(
|
const auto item = _history->peer->owner().message(
|
||||||
_history->peer->id,
|
_history->peer->id,
|
||||||
MsgId{ data.msgBareId });
|
MsgId{ data.msgBareId });
|
||||||
|
|
Loading…
Add table
Reference in a new issue