element/surface: Fix reported corner radius
This commit is contained in:
parent
067be10474
commit
0ce7f11445
1 changed files with 3 additions and 3 deletions
|
|
@ -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),
|
||||
])
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue