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

commit073fd5dbebe870489254c704dc8b78a6cf02517b
parent121d682dab
authorLucas Galante <[email protected]>
date2026-06-21 09:17
feat: use global window_corner_radius config instead of hardcoded 12.0

 src/main.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.rs b/src/main.rs
index fdeec8e..5037f10 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -136,7 +136,7 @@ impl FilesystemApp {
         self.root_window.set_rect(0.0, 0.0, self.width as f32, self.height as f32);
         let bg_color = cce_ui::color::page_low_color();
         self.root_window.background_color = Some(bg_color);
-        self.root_window.radius = 12.0;
+        self.root_window.radius = cce_ui::color::window_corner_radius();
 
         // Rebuild Element Focus Hierarchy
         self.root_window.clear_children(&mut self.ui_context);
@@ -510,7 +510,7 @@ impl Application for FilesystemApp {
         let initial_h = if select_mode { 500 } else { 720 };
         let root_window = cce_ui::widget::Window::new(0.0, 0.0, initial_w as f32, initial_h as f32)
             .with_background(cce_ui::color::page_low_color())
-            .with_radius(12.0);
+            .with_radius(cce_ui::color::window_corner_radius());
 
         let mut app = Self {
             current_page: Page::Browse,