mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-10-01 03:11:43 +00:00
Implement multiboost reassign box.
This commit is contained in:
@@ -1682,9 +1682,19 @@ crl::time PeerListContent::paintRow(
|
||||
return refreshStatusIn;
|
||||
}
|
||||
|
||||
const auto opacity = row->opacity();
|
||||
const auto &bg = selected
|
||||
? _st.item.button.textBgOver
|
||||
: _st.item.button.textBg;
|
||||
if (opacity < 1.) {
|
||||
p.setOpacity(opacity);
|
||||
}
|
||||
const auto guard = gsl::finally([&] {
|
||||
if (opacity < 1.) {
|
||||
p.setOpacity(1.);
|
||||
}
|
||||
});
|
||||
|
||||
p.fillRect(0, 0, outerWidth, _rowHeight, bg);
|
||||
row->paintRipple(p, 0, 0, outerWidth);
|
||||
row->paintUserpic(
|
||||
|
Reference in New Issue
Block a user