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:
committed by
Henrik Friedrichsen
parent
7940365344
commit
8805464b1d
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user