From ee9a80a5f1bed2b2d12d12f230257d8cff889f7f Mon Sep 17 00:00:00 2001 From: trigg Date: Sun, 10 Jul 2022 10:11:35 +0100 Subject: [PATCH] - Fix deaf before mute rendering --- discover_overlay/voice_overlay.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discover_overlay/voice_overlay.py b/discover_overlay/voice_overlay.py index 2bc63f0..b611cab 100644 --- a/discover_overlay/voice_overlay.py +++ b/discover_overlay/voice_overlay.py @@ -652,10 +652,10 @@ class VoiceOverlayWindow(OverlayWindow): self.text_font ) self.draw_avatar_pix(context, pix,pos_x,pos_y,colour, avatar_size) - if mute: - self.draw_mute(context, pos_x, pos_y, [0.0, 0.0, 0.0, 0.5], avatar_size) - elif deaf: + if deaf: self.draw_deaf(context, pos_x, pos_y, [0.0, 0.0, 0.0, 0.5], avatar_size) + elif mute: + self.draw_mute(context, pos_x, pos_y, [0.0, 0.0, 0.0, 0.5], avatar_size) return tw def draw_text(self, context, string, pos_x, pos_y, tx_col, bg_col, avatar_size, font):