mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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);
|
_unreadBrush = QBrush(gradient);
|
||||||
}
|
}
|
||||||
auto readColor = context.st->msgServiceFg()->c;
|
auto readColor = context.st->msgServiceFg()->c;
|
||||||
readColor.setAlphaF(std::min(readColor.alphaF(), kReadOutlineAlpha));
|
readColor.setAlphaF(std::min(1. * readColor.alphaF(), kReadOutlineAlpha));
|
||||||
p.setPen(QPen(
|
p.setPen(QPen(
|
||||||
_unread ? _unreadBrush : QBrush(readColor),
|
_unread ? _unreadBrush : QBrush(readColor),
|
||||||
0.5 * (_unread
|
0.5 * (_unread
|
||||||
|
|
Loading…
Add table
Reference in a new issue