Files
cursor-lang/CursorLang/ViewModels/LayoutPopupViewModel.cs
T
2026-08-09 20:02:23 +05:00

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; }
}