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