From aca42591a71eef19b7e92961b268e45d93f99ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Fri, 27 Nov 2026 16:44:39 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20viewer=20name=20chip=20and?= =?UTF-8?q?=20quality/stats=20buttons=20fade=20with=20the=20control=20bar?= =?UTF-8?q?=20(stats=20buttons=20stay=20while=20the=20stats=20card=20is=20?= =?UTF-8?q?open)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/client/src/gui/share_view.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/client/src/gui/share_view.rs b/crates/client/src/gui/share_view.rs index b0a9468..6037bec 100644 --- a/crates/client/src/gui/share_view.rs +++ b/crates/client/src/gui/share_view.rs @@ -588,7 +588,8 @@ impl Yumush { camera_view::tile_label(self, palette, (viewer.user_id, viewer.kind)) .absolute() .left(px(10.)) - .top(px(10.)), + .top(px(10.)) + .when(!bar, |this| this.opacity(0.)), ) .children(stats.map(|_| { let entity = entity.clone(); @@ -598,6 +599,7 @@ impl Yumush { .absolute() .right(px(10.)) .top(px(10.)) + .when(!bar && !viewer.stats, |this| this.opacity(0.)) .flex() .items_center() .gap(px(6.))