git.lucas.co / cce-designer
graphic design tool
git clone https://git.lucas.co/cce-designer.git

commita479d96e1280fa2bc0580dca35e9afca9bc1711b
parentb81461fb94
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/render.rs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/render.rs b/src/render.rs
index 7aa04e1..7660e58 100644
--- a/src/render.rs
+++ b/src/render.rs
@@ -385,8 +385,7 @@ impl State {
                         let depth = cce_ui::layout::bevel_width();
                         pc.plate_spec(&cce_ui::scene::paint::PlateSpec {
                             rect: vp_rect,
-                            color: [0.0; 4],
-                            blur: false,
+                            material: cce_ui::scene::Material::opaque([0.0; 4]),
                             window_corners: (true, true, true, true),
                             depth: -depth,
                         });