diff --git a/src/LiveSplit.View/View/TimerForm.cs b/src/LiveSplit.View/View/TimerForm.cs index 6e638ccfc..8ebf3c98d 100644 --- a/src/LiveSplit.View/View/TimerForm.cs +++ b/src/LiveSplit.View/View/TimerForm.cs @@ -317,7 +317,7 @@ private void Init(string splitsPath = null, string layoutPath = null) Server = new CommandServer(CurrentState); Server.StartNamedPipe(); - new System.Timers.Timer(1000) { Enabled = true }.Elapsed += RaceRefreshTimer_Elapsed; + new System.Timers.Timer(1000) { Enabled = true }.Elapsed += PerSecondTimer_Elapsed; InitDragAndDrop(); } @@ -426,8 +426,11 @@ private string GetShortenedGameAndGoal(string goal) return goal; } - private void RaceRefreshTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) - { + private void PerSecondTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) + { + // Invalidate the entire form at least once per second, to avoid parts of the form not being redrawn when necessary in some cases + InvalidationRequired = true; + if (ShouldRefreshRaces) { for (var i = 0; i < RacesToRefresh.Count; i++)