mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-28 19:40:54 +00:00
Show correct incoming quiz votes in green.
This commit is contained in:
parent
b74adc5311
commit
3c022b893a
@ -961,6 +961,8 @@ void Poll::paintFilling(
|
||||
|
||||
if (chosen && !correct) {
|
||||
p.setBrush(st::boxTextFgError);
|
||||
} else if (chosen && correct && _poll->quiz() && !outbg) {
|
||||
p.setBrush(st::boxTextFgGood);
|
||||
} else {
|
||||
const auto bar = outbg ? (selected ? st::msgWaveformOutActiveSelected : st::msgWaveformOutActive) : (selected ? st::msgWaveformInActiveSelected : st::msgWaveformInActive);
|
||||
p.setBrush(bar);
|
||||
|
Loading…
Reference in New Issue
Block a user