mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Show correct incoming quiz votes in green.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user