fix: make it more correct

This commit is contained in:
ZavaruKitsu 2023-11-18 19:50:00 +03:00
parent 95f18f2120
commit 627322f563

View file

@ -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();
}