diff --git a/examples/audience/Assets/SampleApp/Scripts/AudienceSample.UI.cs b/examples/audience/Assets/SampleApp/Scripts/AudienceSample.UI.cs index 0c4ed6ef..1c089afe 100644 --- a/examples/audience/Assets/SampleApp/Scripts/AudienceSample.UI.cs +++ b/examples/audience/Assets/SampleApp/Scripts/AudienceSample.UI.cs @@ -28,7 +28,6 @@ private static readonly (string TabId, string PanelId)[] Tabs = private static readonly string[] StateClasses = { "state-ok", "state-warn", "state-err", "dim" }; - private const int LogCapacity = 200; private const int CollapseThreshold = 240; private const int StatusPollIntervalMs = 500; private const float NarrowBreakpointPx = 1024f; @@ -698,9 +697,6 @@ private void AppendLog(string label, string? body, LogLevel level, LogSource sou return; } - if (_logView.contentContainer.childCount >= LogCapacity) - _logView.contentContainer.RemoveAt(0); - // Snapshot "was at bottom?" before adding — stateless per-row check. var s = _logView.verticalScroller; bool wasAtBottom = s.highValue <= 0 || (s.highValue - s.value) < 4f;