mirror of
https://github.com/2dust/v2rayN.git
synced 2025-10-14 12:29:13 +00:00
Update MsgView.axaml.cs
This commit is contained in:
parent
406dc3a297
commit
676edf8a00
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ namespace v2rayN.Desktop.Views;
|
||||||
public partial class MsgView : ReactiveUserControl<MsgViewModel>
|
public partial class MsgView : ReactiveUserControl<MsgViewModel>
|
||||||
{
|
{
|
||||||
private readonly ScrollViewer _scrollViewer;
|
private readonly ScrollViewer _scrollViewer;
|
||||||
private const int _maxLines = 320; // 实际保留的行数
|
private const int _maxLines = 320;
|
||||||
private const int _trimLines = 350; // 超过此阈值时裁剪
|
private const int _trimLines = 350;
|
||||||
private int _lastShownLength = 0;
|
private int _lastShownLength = 0;
|
||||||
|
|
||||||
public MsgView()
|
public MsgView()
|
||||||
|
|
Loading…
Reference in a new issue