Files
MesenCE/UI/Debugger/ViewModels/CommentEditViewModel.cs
SourMesen 40335ce735 UI: Update to Avalonia 12, .NET 10 and replace ReactiveUI with MVVM community toolkit (#142)
Also fixes DX11.0 support (for Win7 PCs that aren't fully updated), which stopped working after the recent variable refresh rate changes
2026-07-03 16:04:42 +09:00

21 lines
474 B
C#

using Mesen.Debugger.Labels;
using Mesen.ViewModels;
using System;
using static Mesen.Debugger.ViewModels.LabelEditViewModel;
namespace Mesen.Debugger.ViewModels
{
public partial class CommentEditViewModel : ViewModelBase
{
public ReactiveCodeLabel Label { get; set; }
[Obsolete("For designer only")]
public CommentEditViewModel() : this(new CodeLabel()) { }
public CommentEditViewModel(CodeLabel label)
{
Label = new ReactiveCodeLabel(label);
}
}
}