cloud storage client
git clone https://git.lucas.co/cce-cloud.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/json_layout.rs | 2 +-
src/main.rs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/json_layout.rs b/src/json_layout.rs
index 8d7d6a2..032e440 100644
--- a/src/json_layout.rs
+++ b/src/json_layout.rs
@@ -676,7 +676,7 @@ impl cce_ui::widget::Paint for JsonLayoutWidget {
// tall run would otherwise cut a far deeper channel.
let depth = cce_ui::layout::bevel_width().min(first.h * 0.2);
pc.clip(clip, |pc| {
- pc.inset_plate(run, (radius, radius, radius, radius), face, depth);
+ pc.inset_plate(run, (radius, radius, radius, radius), cce_ui::scene::Material::face(face).as_ref(), depth);
});
// Seams are collected, not drawn yet: they are pure shading and
// must land ON TOP of the rows. A hovered row fills its whole
diff --git a/src/main.rs b/src/main.rs
index bb6b72b..407accf 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1055,7 +1055,7 @@ impl cce_ui::widget::Paint for FuzzelWidget {
seg,
seg_r,
cce_ui::widget::PlateStance::Raised,
- [0.0; 4],
+ None,
)
.with_depth(depth),
);