terminal emulator
git clone https://git.lucas.co/cce-terminal.git
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(),
});