render: Scale indicator radius with scale
This commit is contained in:
parent
d9b15f1eb3
commit
afae9bb962
1 changed files with 1 additions and 0 deletions
|
|
@ -220,6 +220,7 @@ impl IndicatorShader {
|
|||
color: [f32; 3],
|
||||
) -> PixelShaderElement {
|
||||
let thickness = (thickness as f64 * scale).round() as u8;
|
||||
let radius = (radius as f64 * scale).round() as u8;
|
||||
|
||||
let settings = IndicatorSettings {
|
||||
thickness,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue