mirror of https://github.com/procxx/kepka.git
Fix mediaview download icon in night mode.
This commit is contained in:
parent
b4581a7bbf
commit
b4baebc230
|
@ -2245,9 +2245,9 @@ void MediaView::paintDocRadialLoading(Painter &p, bool radial, float64 radialOpa
|
||||||
p.setOpacity(1.);
|
p.setOpacity(1.);
|
||||||
auto icon = ([radial, this]() -> const style::icon* {
|
auto icon = ([radial, this]() -> const style::icon* {
|
||||||
if (radial || _doc->loading()) {
|
if (radial || _doc->loading()) {
|
||||||
return &st::historyFileInCancel;
|
return &st::historyFileThumbCancel;
|
||||||
}
|
}
|
||||||
return &st::historyFileInDownload;
|
return &st::historyFileThumbDownload;
|
||||||
})();
|
})();
|
||||||
if (icon) {
|
if (icon) {
|
||||||
icon->paintInCenter(p, inner);
|
icon->paintInCenter(p, inner);
|
||||||
|
|
Loading…
Reference in New Issue