From 73b0ee5c86f904757b46b8194b01b43509f4d680 Mon Sep 17 00:00:00 2001 From: TheOptik Date: Thu, 29 Feb 2024 22:43:15 +0100 Subject: [PATCH] Fixed build for debug feature --- src/interface/elements/profiler/inspector.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/interface/elements/profiler/inspector.rs b/src/interface/elements/profiler/inspector.rs index 9d8374ef..fcfebb16 100644 --- a/src/interface/elements/profiler/inspector.rs +++ b/src/interface/elements/profiler/inspector.rs @@ -1,4 +1,3 @@ - use std::time::{Duration, Instant}; use procedural::*; @@ -124,7 +123,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(