mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix build for macOS.
This commit is contained in:
parent
1c914e40bb
commit
08ee386b28
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ void StoryMention::draw(
|
|||
_unreadBrush = QBrush(gradient);
|
||||
}
|
||||
auto readColor = context.st->msgServiceFg()->c;
|
||||
readColor.setAlphaF(std::min(readColor.alphaF(), kReadOutlineAlpha));
|
||||
readColor.setAlphaF(std::min(1. * readColor.alphaF(), kReadOutlineAlpha));
|
||||
p.setPen(QPen(
|
||||
_unread ? _unreadBrush : QBrush(readColor),
|
||||
0.5 * (_unread
|
||||
|
|
Loading…
Add table
Reference in a new issue