diff --git a/src/interface/elements/profiler/inspector.rs b/src/interface/elements/profiler/inspector.rs index 9d8374ef..1aed1c21 100644 --- a/src/interface/elements/profiler/inspector.rs +++ b/src/interface/elements/profiler/inspector.rs @@ -124,7 +124,7 @@ impl FrameInspectorView { block_position, block_size, (theme.profiler.bar_corner_radius.get()).into(), - color.multiply_alpha_f32(alpha), + color.multiply_alpha(alpha), ); let alpha = Self::interpolate_alpha_linear(