1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 14:13:18 +08:00

Add xmldoc to trackNewContent to explain its purpose

This commit is contained in:
Salman Ahmed 2022-03-06 23:51:27 +03:00
parent 9ec0e74813
commit a13a087f5d

View File

@ -18,6 +18,12 @@ namespace osu.Game.Overlays.Chat
/// </summary>
private const float auto_scroll_leniency = 10f;
/// <summary>
/// Whether to keep this container scrolled to end on new content.
/// </summary>
/// <remarks>
/// This is specifically controlled by whether the latest scroll operation made the container scrolled to end.
/// </remarks>
private bool trackNewContent = true;
protected override void UpdateAfterChildren()