From 3197345fc395bd83fdf02afd00659e536b60e7d6 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 4 Sep 2016 19:31:04 +0100 Subject: [PATCH] Fix bogus observer stats graph positioning. --- OpenRA.Mods.Common/Widgets/Logic/Ingame/ObserverStatsLogic.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/ObserverStatsLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/ObserverStatsLogic.cs index 5a6dc4eb8e..e1771734a2 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/ObserverStatsLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/ObserverStatsLogic.cs @@ -171,6 +171,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic (p.PlayerActor.TraitOrDefault() ?? new PlayerStatistics(p.PlayerActor)).EarnedSamples.Select(s => (float)s))); playerStatsPanel.AddChild(template); + playerStatsPanel.ScrollToTop(); } void DisplayStats(Func createItem)