From aad65c1cab42bf1f1b8da8111abe167232d5cfa9 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 17 Jan 2022 22:53:52 +1100 Subject: [PATCH] [client] graphs: overlay on removal of graph --- client/src/overlay/graphs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/overlay/graphs.c b/client/src/overlay/graphs.c index 630f5a72..3a3396d9 100644 --- a/client/src/overlay/graphs.c +++ b/client/src/overlay/graphs.c @@ -230,6 +230,9 @@ void overlayGraph_unregister(GraphHandle handle) { ll_removeData(gs.graphs, handle); free(handle); + + if (gs.show) + app_invalidateWindow(false); } void overlayGraph_iterate(void (*callback)(GraphHandle handle, const char * name,