feat: corner-radius protocol support

This commit is contained in:
Ashley Wulber 2025-09-24 15:11:16 -04:00 committed by Victoria Brekenfeld
parent b232a4b24a
commit b3aa10436a
11 changed files with 1130 additions and 490 deletions

View file

@ -195,6 +195,7 @@ impl IndicatorShader {
key: impl Into<Key>,
mut element_geo: Rectangle<i32, Local>,
thickness: u8,
radius: u8,
alpha: f32,
active_window_hint: [f32; 3],
) -> PixelShaderElement {
@ -207,7 +208,8 @@ impl IndicatorShader {
key,
element_geo,
thickness,
thickness * 2,
// FIXME, this seems to look OK, but I doubt it is correct
radius + thickness,
alpha,
active_window_hint,
)