19 lines
527 B
C#
19 lines
527 B
C#
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using CursorLang.Models;
|
|
|
|
namespace CursorLang.ViewModels;
|
|
|
|
/// <summary>
|
|
/// The content of the popup at the cursor. The look is taken straight from the
|
|
/// settings, so editing them applies without a restart.
|
|
/// </summary>
|
|
public sealed partial class LayoutPopupViewModel : ObservableObject
|
|
{
|
|
[ObservableProperty]
|
|
private string _shortName = "—";
|
|
|
|
public LayoutPopupViewModel(AppSettings settings) => Settings = settings;
|
|
|
|
public AppSettings Settings { get; }
|
|
}
|