font browser
chore: root_plate_* — cce-ui 7a-2 caller migration
Mechanical rename onto cce-ui's canonical root-plate getters
(cce-ui@c8e0ab3, RFC Phase 7a); behavior unchanged, same config slots.
src/main.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main.rs b/src/main.rs
index 84b0284..7c91257 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -998,9 +998,9 @@ impl Application for TypefaceApp {
{
let mut fill = bg_color;
if fill[3] > 0.001 {
- fill[3] = cce_ui::color::active_backplate_opacity();
+ fill[3] = cce_ui::color::root_plate_opacity();
}
- let radius = cce_ui::colors::backplate_corner_radius();
+ let radius = cce_ui::colors::root_plate_corner_radius();
let radii = (radius, radius, radius, radius);
let rect = Rect { x: 0.0, y: 0.0, width: w_f32, height: h_f32 };
pc.border(rect, radii, fill, [0.22, 0.22, 0.28, 1.0], 1.5);