git.lucas.co / cce-cloud
cloud storage client
git clone https://git.lucas.co/cce-cloud.git

commitb3a9f921a011b7fc39d7053fd208409fac84ae85
parent6eedc3c787
authorLucas Galante <[email protected]>
date2026-08-14 19:03
fix: forward Prim::Groove through the json_layout re-emit

The nested paint walk matches Prim exhaustively, so cce-ui's new groove
primitive broke the build here. Forwarded like every other prim.

Co-Authored-By: Claude <[email protected]>

 src/json_layout.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/json_layout.rs b/src/json_layout.rs
index 1f41b8c..fc6d83b 100644
--- a/src/json_layout.rs
+++ b/src/json_layout.rs
@@ -625,6 +625,7 @@ impl cce_ui::widget::Paint for JsonLayoutWidget {
                         Prim::ConcaveFillet { cx, cy, radius, depth, start, raised } => {
                             pc.concave_fillet(cx, cy, radius, depth, start, raised)
                         }
+                        Prim::Groove { a, b, width, depth, host } => pc.groove(a, b, width, depth, host),
                         Prim::Image { image, rect, alpha } => pc.image(image, rect, alpha),
                     }
                     if clip_circle.is_some() {