fix: no ceil for scaled outline thickness
This commit is contained in:
parent
1d72227a30
commit
4d370cdf92
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ impl IndicatorShader {
|
|||
.filter(|(old_settings, _)| &settings == old_settings)
|
||||
.is_none()
|
||||
{
|
||||
let thickness: f32 = ((thickness as f64 * scale).ceil() / scale) as f32;
|
||||
let thickness: f32 = ((thickness as f64 * scale) / scale) as f32;
|
||||
let shader = Self::get(renderer);
|
||||
|
||||
let elem = PixelShaderElement::new(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue