docs(worker): comment purpose of UI refresh task

The purpose of the manual UI refresh task isn't immediately clear. It
was explained in the commit message of the commit that introduced it.
This commit is contained in:
Thomas Frans
2024-01-31 17:41:34 +01:00
committed by Henrik Friedrichsen
parent 7940365344
commit 8805464b1d

View File

@@ -186,6 +186,7 @@ impl Worker {
},
_ => {}
},
// Update animated parts of the UI (e.g. statusbar during playback).
_ = ui_refresh.tick() => {
if self.active {
self.events.trigger();