mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Fixed color of radial animation in audio files from shared media.
This commit is contained in:
parent
2605e754ff
commit
26ba7e57ce
1 changed files with 3 additions and 1 deletions
|
@ -1398,7 +1398,9 @@ void Document::drawCornerDownload(QPainter &p, bool selected, const PaintContext
|
|||
icon->paintInCenter(p, inner);
|
||||
if (_radial && _radial->animating()) {
|
||||
const auto rinner = inner.marginsRemoved(QMargins(st::historyAudioRadialLine, st::historyAudioRadialLine, st::historyAudioRadialLine, st::historyAudioRadialLine));
|
||||
auto fg = selected ? st::historyFileThumbRadialFgSelected : st::historyFileThumbRadialFg;
|
||||
const auto &fg = selected
|
||||
? st::historyFileInIconFgSelected
|
||||
: st::historyFileInIconFg;
|
||||
_radial->draw(p, rinner, st::historyAudioRadialLine, fg);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue