mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-08 08:04:08 +02:00
Fixed speaker display when participant is muted by me in group calls.
This commit is contained in:
parent
6c0553f4d6
commit
fba7bd7807
1 changed files with 5 additions and 5 deletions
|
@ -660,13 +660,13 @@ void Row::paintStatusText(
|
||||||
int availableWidth,
|
int availableWidth,
|
||||||
int outerWidth,
|
int outerWidth,
|
||||||
bool selected) {
|
bool selected) {
|
||||||
p.save();
|
|
||||||
const auto &font = st::normalFont;
|
const auto &font = st::normalFont;
|
||||||
paintStatusIcon(p, st, font, selected);
|
|
||||||
const auto translatedWidth = statusIconWidth();
|
|
||||||
p.translate(translatedWidth, 0);
|
|
||||||
const auto guard = gsl::finally([&] { p.restore(); });
|
|
||||||
if (_state != State::Invited && _state != State::MutedByMe) {
|
if (_state != State::Invited && _state != State::MutedByMe) {
|
||||||
|
p.save();
|
||||||
|
paintStatusIcon(p, st, font, selected);
|
||||||
|
const auto translatedWidth = statusIconWidth();
|
||||||
|
p.translate(translatedWidth, 0);
|
||||||
|
const auto guard = gsl::finally([&] { p.restore(); });
|
||||||
PeerListRow::paintStatusText(
|
PeerListRow::paintStatusText(
|
||||||
p,
|
p,
|
||||||
st,
|
st,
|
||||||
|
|
Loading…
Add table
Reference in a new issue