graphic design tool
git clone https://git.lucas.co/cce-designer.git
chore: root_plate_corner_radius — 7a-2 caller migration (vk-smoke)
First per-crate migration onto cce-ui's canonical root-plate getters
(cce-ui@c8e0ab3); behavior unchanged, same slot.
src/vk_smoke.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/vk_smoke.rs b/src/vk_smoke.rs
index f464189..574cfd8 100644
--- a/src/vk_smoke.rs
+++ b/src/vk_smoke.rs
@@ -338,7 +338,7 @@ fn main() {
let surface_ptr = wl_surface.id().as_ptr() as *mut std::ffi::c_void;
let pw = (app.logical_size.0 as f64 * app.scale) as u32;
let ph = (app.logical_size.1 as f64 * app.scale) as u32;
- let radius = cce_ui::color::backplate_corner_radius() * app.scale as f32;
+ let radius = cce_ui::color::root_plate_corner_radius() * app.scale as f32;
app.renderer =
Some(unsafe { VkRenderer::new(display_ptr, surface_ptr, pw, ph, radius) });
log::info!("vk-smoke: renderer up at {pw}x{ph} (scale {})", app.scale);