优化value=0时进度条不显示问题

This commit is contained in:
nilaoda 2022-12-04 00:04:22 +08:00
parent 17f5acde5a
commit 19487c4562
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ namespace N_m3u8DL_RE.Column
public override IRenderable Render(RenderContext context, ProgressTask task, TimeSpan deltaTime) public override IRenderable Render(RenderContext context, ProgressTask task, TimeSpan deltaTime)
{ {
if (task.Value == 0) return new Text("", MyStyle).RightAligned(); if (task.Value == 0) return new Text("-", MyStyle).RightAligned();
var done = task.IsFinished; var done = task.IsFinished;