mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix build for macOS.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user