优化value=0时进度条不显示问题
This commit is contained in:
parent
17f5acde5a
commit
19487c4562
|
@ -26,7 +26,7 @@ namespace N_m3u8DL_RE.Column
|
|||
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue