mail client (IMAP/SMTP)
git clone https://git.lucas.co/cce-mail.git
Control faces and inset plates take a Material (cce-ui RFC material, step 2c)
ControlPlate::control takes Option<Material> and inset_plate
Option<&Material>; Material::face decodes the colour each site held
(transparent = no face), so nothing on screen moves. cce-ui@cc36c1f.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
src/main.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main.rs b/src/main.rs
index 7e0e8ed..fe39bb9 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -3980,7 +3980,7 @@ impl Application for ClearEmailApp {
)
.with_font_family(&bar_font)
.with_flat(true)
- .with_face(pane_fill());
+ .with_face(cce_ui::scene::Material::from_fill(pane_fill()));
let mut search_box = TextBox::new(String::new())
.with_multiline(false)
@@ -4016,7 +4016,7 @@ impl Application for ClearEmailApp {
)
.with_font_family(&bar_font)
.with_flat(true)
- .with_face(pane_fill());
+ .with_face(cce_ui::scene::Material::from_fill(pane_fill()));
let mut detail_body = TextBox::new(String::new()).with_multiline(true).with_draw_bg_border(false);
detail_body.font_size = 12.0;