BlueGit

ict rusty-teams

fix(call): center the muted mic glyph

- mic_off symbol viewBox shifted so the glyph's bounding box sits in the middle (was 2.6% to the left)
- Tile mute badge icon 14 px in the 24 px circle, so the insets are whole pixels

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

metis Daniel Däschle · pushed by metis

Authored 2026-11-16 · 2 weeks ago

Hash
c430d14f8da874bb78a80770b5f204614f153502
Parent
c6bd7c6b
2 files changed +2 −2
crates/app/assets/symbols/mic_off.svg +1 −1
@@ -1 +1 @@
1 <svg xmlns="http://www.w3.org/2000/svg" height="20" viewBox="0 -960 960 960" width="20"><path d="m680.61-391.77-39.15-39.92q6.77-15.23 11.37-33.6 4.6-18.36 4.6-38.71h52.34q0 31.08-7.72 59.38-7.72 28.3-21.44 52.85ZM462.77-607.23Zm100.31 98.46-49.31-49.08V-744q0-20.4-14-34.2-14-13.8-34-13.8t-34 13.8q-14 13.8-14 34.2v89.38l-52-52.38v-37q0-41.92 29.04-70.96Q423.85-844 465.77-844q41.92 0 70.96 29.04 29.04 29.04 29.04 70.96v213.84q0 4.77-.54 10.31-.54 5.54-2.15 11.08ZM439.77-154v-107.85q-94-9.31-156-78.42-62-69.12-62-163.73h52q0 79.68 56.38 135.84Q386.54-312 465.77-312q38.61 0 72.58-16.27 33.96-16.27 61.11-43.65l37.77 37.76q-29.3 29.33-66.65 48.7-37.35 19.38-78.81 23.61V-154h-52Zm330.92 28.61L101.15-795.93l37.16-37.15 669.54 670.54-37.16 37.15Z"/></svg>
1 <svg xmlns="http://www.w3.org/2000/svg" height="20" viewBox="-25 -960 960 960" width="20"><path d="m680.61-391.77-39.15-39.92q6.77-15.23 11.37-33.6 4.6-18.36 4.6-38.71h52.34q0 31.08-7.72 59.38-7.72 28.3-21.44 52.85ZM462.77-607.23Zm100.31 98.46-49.31-49.08V-744q0-20.4-14-34.2-14-13.8-34-13.8t-34 13.8q-14 13.8-14 34.2v89.38l-52-52.38v-37q0-41.92 29.04-70.96Q423.85-844 465.77-844q41.92 0 70.96 29.04 29.04 29.04 29.04 70.96v213.84q0 4.77-.54 10.31-.54 5.54-2.15 11.08ZM439.77-154v-107.85q-94-9.31-156-78.42-62-69.12-62-163.73h52q0 79.68 56.38 135.84Q386.54-312 465.77-312q38.61 0 72.58-16.27 33.96-16.27 61.11-43.65l37.77 37.76q-29.3 29.33-66.65 48.7-37.35 19.38-78.81 23.61V-154h-52Zm330.92 28.61L101.15-795.93l37.16-37.15 669.54 670.54-37.16 37.15Z"/></svg>
@@ -1 +1 @@
1<svg xmlns="http://www.w3.org/2000/svg" height="20" viewBox="0 -960 960 960" width="20"><path d="m680.61-391.77-39.15-39.92q6.77-15.23 11.37-33.6 4.6-18.36 4.6-38.71h52.34q0 31.08-7.72 59.38-7.72 28.3-21.44 52.85ZM462.77-607.23Zm100.31 98.46-49.31-49.08V-744q0-20.4-14-34.2-14-13.8-34-13.8t-34 13.8q-14 13.8-14 34.2v89.38l-52-52.38v-37q0-41.92 29.04-70.96Q423.85-844 465.77-844q41.92 0 70.96 29.04 29.04 29.04 29.04 70.96v213.84q0 4.77-.54 10.31-.54 5.54-2.15 11.08ZM439.77-154v-107.85q-94-9.31-156-78.42-62-69.12-62-163.73h52q0 79.68 56.38 135.84Q386.54-312 465.77-312q38.61 0 72.58-16.27 33.96-16.27 61.11-43.65l37.77 37.76q-29.3 29.33-66.65 48.7-37.35 19.38-78.81 23.61V-154h-52Zm330.92 28.61L101.15-795.93l37.16-37.15 669.54 670.54-37.16 37.15Z"/></svg>
1<svg xmlns="http://www.w3.org/2000/svg" height="20" viewBox="-25 -960 960 960" width="20"><path d="m680.61-391.77-39.15-39.92q6.77-15.23 11.37-33.6 4.6-18.36 4.6-38.71h52.34q0 31.08-7.72 59.38-7.72 28.3-21.44 52.85ZM462.77-607.23Zm100.31 98.46-49.31-49.08V-744q0-20.4-14-34.2-14-13.8-34-13.8t-34 13.8q-14 13.8-14 34.2v89.38l-52-52.38v-37q0-41.92 29.04-70.96Q423.85-844 465.77-844q41.92 0 70.96 29.04 29.04 29.04 29.04 70.96v213.84q0 4.77-.54 10.31-.54 5.54-2.15 11.08ZM439.77-154v-107.85q-94-9.31-156-78.42-62-69.12-62-163.73h52q0 79.68 56.38 135.84Q386.54-312 465.77-312q38.61 0 72.58-16.27 33.96-16.27 61.11-43.65l37.77 37.76q-29.3 29.33-66.65 48.7-37.35 19.38-78.81 23.61V-154h-52Zm330.92 28.61L101.15-795.93l37.16-37.15 669.54 670.54-37.16 37.15Z"/></svg>
crates/app/src/views/call_view.rs +1 −1
@@ -240,7 +240,7 @@ fn mute_badge() -> Div {
240 240 .justify_center()
241 241 .rounded_full()
242 242 .bg(theme::red())
243 .child(icon(IconName::MicOff, 13., theme::white()))
243 .child(icon(IconName::MicOff, 14., theme::white()))
244 244 }
245 245
246 246 struct NamePlate {
@@ -240,7 +240,7 @@ fn mute_badge() -> Div {
240 .justify_center()
240 .justify_center()
241 .rounded_full()
241 .rounded_full()
242 .bg(theme::red())
242 .bg(theme::red())
243 .child(icon(IconName::MicOff, 13., theme::white()))
243 .child(icon(IconName::MicOff, 14., theme::white()))
244}
244}
245
245
246struct NamePlate {
246struct NamePlate {