This commit is contained in:
2dust
2025-09-26 17:11:48 +08:00
parent a652fd879b
commit 03d5b7a05b
2 changed files with 1 additions and 9 deletions

View File

@@ -46,8 +46,6 @@ public partial class MsgView : ReactiveUserControl<MsgViewModel>
private void ShowMsg(object msg)
{
txtMsg.BeginChange();
//var lineCount = txtMsg.LineCount;
//if (lineCount > ViewModel?.NumMaxMsg)
//{
@@ -64,13 +62,11 @@ public partial class MsgView : ReactiveUserControl<MsgViewModel>
{
txtMsg.ScrollToEnd();
}
txtMsg.EndChange();
}
public void ClearMsg()
{
txtMsg.Text = string.Empty;
txtMsg.Clear();
txtMsg.AppendText("----- Message cleared -----\n");
}