From a13a087f5dda13342fe9707a63d4421dbbdcdfb0 Mon Sep 17 00:00:00 2001 From: Salman Ahmed Date: Sun, 6 Mar 2022 23:51:27 +0300 Subject: [PATCH] Add xmldoc to `trackNewContent` to explain its purpose --- osu.Game/Overlays/Chat/ChannelScrollContainer.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/osu.Game/Overlays/Chat/ChannelScrollContainer.cs b/osu.Game/Overlays/Chat/ChannelScrollContainer.cs index 1d1d35dc34..58b2b9a075 100644 --- a/osu.Game/Overlays/Chat/ChannelScrollContainer.cs +++ b/osu.Game/Overlays/Chat/ChannelScrollContainer.cs @@ -18,6 +18,12 @@ namespace osu.Game.Overlays.Chat /// private const float auto_scroll_leniency = 10f; + /// + /// Whether to keep this container scrolled to end on new content. + /// + /// + /// This is specifically controlled by whether the latest scroll operation made the container scrolled to end. + /// private bool trackNewContent = true; protected override void UpdateAfterChildren()