[client] audio: redraw the graphs if they have been updated

This commit is contained in:
Geoffrey McRae
2022-01-17 22:49:19 +11:00
parent 775ac7ce8b
commit 0ad26b7da7
5 changed files with 17 additions and 0 deletions

View File

@@ -241,3 +241,11 @@ void overlayGraph_iterate(void (*callback)(GraphHandle handle, const char * name
callback(graph, graph->name, &graph->enabled, udata);
ll_unlock(gs.graphs);
}
void overlayGraph_invalidate(void)
{
if (!gs.show)
return;
app_invalidateWindow(false);
}