From f815e3d62ea5466c97bc3aaa706cbb96ce523601 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 15 Apr 2024 23:45:29 +0200 Subject: [PATCH] late console lines fade out completely when they expire --- src/hud.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hud.rs b/src/hud.rs index c987b07..b4d8814 100644 --- a/src/hud.rs +++ b/src/hud.rs @@ -522,7 +522,7 @@ fn update_hud( for msg in &messages { chat.sections[row].value = msg.format(); let freshness = msg.get_freshness(); - let opacity: f32 = (freshness.powf(1.5) as f32).clamp(0.1, 1.0); + let opacity: f32 = (freshness.powf(1.5) as f32).clamp(0.0, 1.0); freshest_line = freshest_line.max(freshness); chat.sections[row].style.color = match msg.level { LogLevel::Warning => settings.hud_color_console_warn,