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