graphic design tool
git clone https://git.lucas.co/cce-designer.git
render: drop the unused slot_plate_radii helper
Left behind by the window-corner work: every caller resolves the rect
itself and calls pane_plate_radii directly.
Co-Authored-By: Claude Fable 5 <[email protected]>
src/render.rs | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/render.rs b/src/render.rs
index 33af534..221292a 100644
--- a/src/render.rs
+++ b/src/render.rs
@@ -57,12 +57,6 @@ impl State {
)
}
- /// [`pane_plate_radii`](Self::pane_plate_radii) for a slot's laid-out rect.
- fn slot_plate_radii(&self, idx: usize) -> (f32, f32, f32, f32) {
- let (x, y, w, h) = self.positions[idx];
- self.pane_plate_radii(x, y, w, h)
- }
-
/// The rounded-rect clip (plate rect + corner radius) a widget's content must stay
/// inside, so children of plates cut off at the plate's rounded corners: the network
/// plate for the network pane's parts (graph content, breadcrumb), the pane's own