mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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,
|
inBubble,
|
||||||
colorIndexPlusOne)]
|
colorIndexPlusOne)]
|
||||||
: nullptr;
|
: nullptr;
|
||||||
const auto rippleColor = cache->bg2;
|
const auto rippleColor = cache->bg;
|
||||||
if (!inBubble) {
|
if (!inBubble) {
|
||||||
cache->bg = QColor(0, 0, 0, 0);
|
cache->bg = QColor(0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
@ -646,7 +646,7 @@ void Reply::paint(
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_ripple.animation) {
|
if (_ripple.animation) {
|
||||||
_ripple.animation->paint(p, x, y, w, &rippleColor);
|
_ripple.animation->paint(p, x, y, w, &cache->bg2);
|
||||||
if (_ripple.animation->empty()) {
|
if (_ripple.animation->empty()) {
|
||||||
_ripple.animation.reset();
|
_ripple.animation.reset();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue