From f025d9611169a1a0477d26849da85635503e3fe9 Mon Sep 17 00:00:00 2001 From: xxSeys1 Date: Fri, 28 Mar 2025 19:38:51 +0100 Subject: [PATCH] fix new messages being cut off in Debug Log Happens when there are a lot of messages logged at once --- Source/Editor/Windows/DebugLogWindow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Editor/Windows/DebugLogWindow.cs b/Source/Editor/Windows/DebugLogWindow.cs index eaf5b792f..30d01532a 100644 --- a/Source/Editor/Windows/DebugLogWindow.cs +++ b/Source/Editor/Windows/DebugLogWindow.cs @@ -707,13 +707,13 @@ namespace FlaxEditor.Windows // Scroll to the new entry (if any added to view) if (scrollView && anyVisible) { - panelScroll.ScrollViewTo(newEntry); + panelScroll.ScrollViewTo(newEntry, true); bool scrollViewNew = (panelScroll.VScrollBar.Maximum - panelScroll.VScrollBar.TargetValue) < LogEntry.DefaultHeight * 1.5f; if (scrollViewNew != scrollView) { // Make sure scrolling doesn't stop in case too many entries were added at once - panelScroll.ScrollViewTo(new Float2(float.MaxValue, float.MaxValue)); + panelScroll.ScrollViewTo(new Float2(float.MaxValue, float.MaxValue), true); } } }