mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 16:05:57 +00:00
Update story mention layout, add outline.
Also use uint32 for bool-bitfields, otherwise: int a : 1 = 0; ... const auto test = true; const auto b = test ? 1 : 0; if (a != b) { a = b; ... } Assert(a == b); // Violation, because a == -1, not 1 (after a = b).
This commit is contained in:
@@ -367,6 +367,9 @@ void Row::PaintCornerBadgeFrame(
|
||||
|
||||
const auto st = context.st;
|
||||
const auto storiesUnreadBrush = [&] {
|
||||
if (context.active) {
|
||||
return st::dialogsUnreadBgActive->b;
|
||||
}
|
||||
const auto left = st->padding.left();
|
||||
const auto top = st->padding.top();
|
||||
auto gradient = QLinearGradient(
|
||||
|
Reference in New Issue
Block a user