mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
fix: make it more correct
This commit is contained in:
parent
95f18f2120
commit
627322f563
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue