git.lucas.co / cce-system-interface
system settings
git clone https://git.lucas.co/cce-system-interface.git

commita6669c7855926ffeef0e228177894dbb8bddab80
parent6cd2e4fa5e
authorLucas Galante <[email protected]>
date2026-09-11 08:28
docs: a Toggle's step carves are its well and glider, not rocker halves

Names the geometry `ControlCarve::Step` actually receives after
cce-ui@98008b0. Comment only.

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

 src/app.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app.rs b/src/app.rs
index c9fbc56..a47344c 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -134,8 +134,8 @@ pub enum ControlCarve {
     /// (Dropdown, Button). `color` fills the face; transparent leaves the
     /// plate below.
     Plate { x: f32, y: f32, w: f32, h: f32, radius: f32, depth: f32, color: [f32; 4], tint: Option<[f32; 3]> },
-    /// A step carve straight from the toolkit (TextBox well, Toggle rocker
-    /// halves and glider) — it already carries its own rect, per-corner radii,
+    /// A step carve straight from the toolkit (TextBox well, a Toggle's well
+    /// and glider) — it already carries its own rect, per-corner radii,
     /// depth and wall mask, so nothing here re-derives them.
     Step(cce_ui::layout::ReliefCarve),
 }