mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-24 15:34:20 +00:00
Add a special key for saved messages userpic bg.
This commit is contained in:
parent
935232eaa2
commit
aa16bcd604
@ -316,6 +316,7 @@ historyPeer8NameFg: #ce671b; // orange group member name
|
||||
historyPeer8NameFgSelected: historyPeer8NameFg; // orange group member name in a selected message
|
||||
historyPeer8UserpicBg: #faa774; // orange userpic background
|
||||
historyPeerUserpicFg: windowFgActive; // default userpic initials
|
||||
historyPeerSavedMessagesBg: historyPeer4UserpicBg; // saved messages userpic background
|
||||
|
||||
// Some values are marked as (adjusted), it means they're adjusted by
|
||||
// hue and saturation of the average background color if user chooses
|
||||
|
@ -84,7 +84,7 @@ void EmptyUserpic::PaintSavedMessages(
|
||||
int y,
|
||||
int outerWidth,
|
||||
int size) {
|
||||
const auto &bg = st::historyPeer4UserpicBg;
|
||||
const auto &bg = st::historyPeerSavedMessagesBg;
|
||||
const auto &fg = st::historyPeerUserpicFg;
|
||||
PaintSavedMessages(p, x, y, outerWidth, size, bg, fg);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user