element/surface: Fix reported corner radius

This commit is contained in:
Victoria Brekenfeld 2026-01-22 16:13:52 +01:00 committed by Victoria Brekenfeld
parent 067be10474
commit 0ce7f11445

View file

@ -204,10 +204,10 @@ impl CosmicSurface {
let corners = guard.current().0?;
Some([
corners.bottom_right.min(half_min_dim),
corners.top_right.min(half_min_dim),
corners.bottom_left.min(half_min_dim),
corners.top_left.min(half_min_dim),
corners.top_right.min(half_min_dim),
corners.bottom_right.min(half_min_dim),
corners.bottom_left.min(half_min_dim),
])
})
})