git.lucas.co / cce-color-editor
color picker and palette editor
git clone https://git.lucas.co/cce-color-editor.git

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

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

diff --git a/src/main.rs b/src/main.rs
index 829c108..f4b9a6c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -465,7 +465,7 @@ impl ColorApp {
 
         // 1. Setup root window
         self.root_window.set_rect(0.0, 0.0, self.width as f32, self.height as f32);
-        self.root_window.radius = 12.0;
+        self.root_window.radius = cce_ui::color::window_corner_radius();
         self.root_window.background_color = Some(cce_ui::color::page_low_color());
 
         self.root_window.clear_children(&mut self.ui_context);