git.lucas.co / cce-layout-interface
page layout tool
git clone https://git.lucas.co/cce-layout-interface.git

commit2b22055026a1d326284d4a745a1fef46a81a4351
parentd2abfad783
authorLucas Galante <[email protected]>
date2026-09-08 19:46
fix: read the Paginator's rounded tab fills

cce-ui's ButtonStrip rounds its segment state fills now, so they arrive
through all_rounded_quads rather than extra_quads; read both bridges when
drawing the sidebar tab column, or the selected tab loses its fill.

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

 src/main.rs | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs
index 7de5f82..8be9c03 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -3485,8 +3485,13 @@ impl Application for LayoutApp {
             }
         }
 
-        // Render Paginator Sidebar (includes backgrounds and active tab sliding container)
+        // Render Paginator Sidebar (includes backgrounds and active tab sliding container).
+        // The tab column's state fills are rounded rects (cce-ui's ButtonStrip rounds its
+        // segments), so read both bridges: plain quads, then the rounded ones.
         quads.extend(self.paginator.extra_quads());
+        for (qx, qy, qw, qh, qr, qc, qcorners) in self.paginator.all_rounded_quads(&self.ui_context) {
+            quads.pc.rounded_rect(cce_ui::scene::layout::Rect { x: qx, y: qy, width: qw, height: qh }, qr, qcorners, qc);
+        }
         if let Some(hq) = self.paginator.highlight_quad(&self.ui_context) {
             quads.push(hq);
         }