git.lucas.co / cce-terminal
terminal emulator
git clone https://git.lucas.co/cce-terminal.git

commitc0a5f315d8cc26051b737de7cab8441f776d6a19
parent079ebd125a
authorLucas Galante <[email protected]>
date2026-09-20 14:20
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 6649b80..5ca0988 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1026,8 +1026,7 @@ impl Application for TerminalApp {
         let frame = Rect { x: 0.0, y: 0.0, width: w, height: h };
         pc.plate_spec(&cce_ui::scene::paint::PlateSpec {
             rect: frame,
-            color: plate,
-            blur: false,
+            material: cce_ui::scene::Material::opaque(plate),
             window_corners: (true, true, true, true),
             depth: cce_ui::layout::bevel_width(),
         });