diff --git a/Telegram/SourceFiles/history/view/history_view_reply.cpp b/Telegram/SourceFiles/history/view/history_view_reply.cpp index 6f67000ae..fad3d0e56 100644 --- a/Telegram/SourceFiles/history/view/history_view_reply.cpp +++ b/Telegram/SourceFiles/history/view/history_view_reply.cpp @@ -622,7 +622,7 @@ void Reply::paint( inBubble, colorIndexPlusOne)] : nullptr; - const auto rippleColor = cache->bg2; + const auto rippleColor = cache->bg; if (!inBubble) { cache->bg = QColor(0, 0, 0, 0); } @@ -646,7 +646,7 @@ void Reply::paint( } if (_ripple.animation) { - _ripple.animation->paint(p, x, y, w, &rippleColor); + _ripple.animation->paint(p, x, y, w, &cache->bg2); if (_ripple.animation->empty()) { _ripple.animation.reset(); }