render: Fix gap between outline and windows
This commit is contained in:
parent
b6f0855a31
commit
40d7fea1cc
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ impl IndicatorShader {
|
||||||
alpha: f32,
|
alpha: f32,
|
||||||
active_window_hint: [f32; 3],
|
active_window_hint: [f32; 3],
|
||||||
) -> PixelShaderElement {
|
) -> PixelShaderElement {
|
||||||
let t = thickness as i32;
|
let t = (thickness as i32) / 2;
|
||||||
element_geo.loc -= (t, t).into();
|
element_geo.loc -= (t, t).into();
|
||||||
element_geo.size += (t * 2, t * 2).into();
|
element_geo.size += (t * 2, t * 2).into();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue