render: Scale indicator radius with scale

This commit is contained in:
Victoria Brekenfeld 2025-01-23 15:30:57 +01:00 committed by Victoria Brekenfeld
parent d9b15f1eb3
commit afae9bb962

View file

@ -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,