Fix build for macOS.
This commit is contained in:
parent
1c914e40bb
commit
08ee386b28
|
@ -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…
Reference in New Issue