git.lucas.co / cce-data-editor
structured data editor
git clone https://git.lucas.co/cce-data-editor.git

commit03f2086c8f748d4730816496b556e111d1503918
parent216acabefb
authorLucas Galante <[email protected]>
date2026-09-20 14:19
PlateSpec carries a Material (cce-ui RFC material, step 2a)

The root plate is Material::opaque(<the same colour>); no frost, no change
on screen. cce-ui@8e63dad.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

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

diff --git a/src/main.rs b/src/main.rs
index e2e059c..03a19ef 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2144,8 +2144,7 @@ impl Application for DataEditorApp {
                 // perimeter follows the silhouette arc.
                 pc.plate_spec(&cce_ui::scene::paint::PlateSpec {
                     rect,
-                    color: plate_color,
-                    blur: false,
+                    material: cce_ui::scene::Material::opaque(plate_color),
                     window_corners: (true, true, true, true),
                     depth: cce_ui::layout::bevel_width(),
                 });