late console lines fade out completely when they expire
This commit is contained in:
parent
02dab4b4b7
commit
f815e3d62e
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue