mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Scroll pane to the bottom when getting new output from python
This commit is contained in:
@@ -335,6 +335,8 @@ namespace renderdocui.Windows.Dialogs
|
||||
this.BeginInvoke(new Action(() =>
|
||||
{
|
||||
scriptOutput.Text += output;
|
||||
scriptOutput.SelectionStart = scriptOutput.TextLength;
|
||||
scriptOutput.ScrollToCaret();
|
||||
}));
|
||||
}
|
||||
}
|
||||
@@ -406,6 +408,8 @@ namespace renderdocui.Windows.Dialogs
|
||||
pythonThread = null;
|
||||
|
||||
scriptOutput.Text += output;
|
||||
scriptOutput.SelectionStart = scriptOutput.TextLength;
|
||||
scriptOutput.ScrollToCaret();
|
||||
|
||||
SetLineNumber(linenum);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user