git.lucas.co / cce-files
file manager
git clone https://git.lucas.co/cce-files.git

commit38d9478f6bafb9651c9ac453f8595b1e840c6415
parent5c771d8bb8
authorLucas Galante <[email protected]>
date2026-06-15 22:19
Use clear_ui::color::popover_bg_color() for custom context menu background

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

diff --git a/src/main.rs b/src/main.rs
index 234a470..103981a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -409,7 +409,7 @@ impl FilesystemApp {
             // Background
             widgets.push(AppWidget {
                 x: cx + 1.0, y: cy + 1.0, w: cw - 2.0, h: ch - 2.0,
-                color: [0.06, 0.06, 0.09, 1.0], hover_color: [0.06, 0.06, 0.09, 1.0],
+                color: clear_ui::color::popover_bg_color(), hover_color: clear_ui::color::popover_bg_color(),
                 hovering: false,
                 action: None,
             });