mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
Custom colors in history_view_document module.
This commit is contained in:
@@ -1022,7 +1022,12 @@ void Document::paint(Painter &p, const QRect &clip, TextSelection selection, con
|
||||
|
||||
using namespace HistoryView;
|
||||
const auto coverDrawn = _data->isSongWithCover()
|
||||
&& DrawThumbnailAsSongCover(p, _dataMedia, inner, selected);
|
||||
&& DrawThumbnailAsSongCover(
|
||||
p,
|
||||
st::songCoverOverlayFg,
|
||||
_dataMedia,
|
||||
inner,
|
||||
selected);
|
||||
if (!coverDrawn) {
|
||||
if (selected) {
|
||||
p.setBrush(st::msgFileInBgSelected);
|
||||
|
Reference in New Issue
Block a user