git.lucas.co / cce-system-interface
system settings
git clone https://git.lucas.co/cce-system-interface.git

commitb31edd1a1219a8f887e0b9120fab105fcb7e9df0
parentfbc21ed9aa
authorLucas Galante <[email protected]>
date2026-06-17 10:52
Fix context menu text visibility by setting bounds overlay constraint

 src/main.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs
index 72c3f94..e86077f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1428,7 +1428,7 @@ fn collect_popover_rects(w: &dyn cce_ui::widget::Element, popovers: &mut Vec<(f3
                     buffer: make_text_buffer(&mut self.font_system, opt, 12.0 * s),
                     x: (cx + 8.0) * s, y: iy * s,
                     color: text_color,
-                    bounds: None,
+                    bounds: Some([cx, cy, cx + cw, cy + ch]),
                 });
             }
         }