From 790b88095c91a34f1e9c5ebb9648ab468d24c7c5 Mon Sep 17 00:00:00 2001 From: Pavel Sountsov Date: Sun, 3 Nov 2024 13:15:38 -0800 Subject: [PATCH] Auto-scroll the native textlog on MacOS. --- addons/native_dialog/osx_dialog.m | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/native_dialog/osx_dialog.m b/addons/native_dialog/osx_dialog.m index 0e326ed33..394d19a77 100644 --- a/addons/native_dialog/osx_dialog.m +++ b/addons/native_dialog/osx_dialog.m @@ -290,6 +290,7 @@ - (void)appendText: (NSString*)text [store beginEditing]; [store appendAttributedString:attributedString]; [store endEditing]; + [self scrollRangeToVisible: NSMakeRange(self.string.length, 0)]; } @end