Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion windows/src/TablePro.App/Views/CommandPalette.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@

namespace TablePro.App.Views;

public sealed record PaletteCommitEventArgs(PaletteItem Item, PaletteCommitIntent Intent) : System.EventArgs;
public sealed class PaletteCommitEventArgs(PaletteItem item, PaletteCommitIntent intent) : EventArgs
{
public PaletteItem Item { get; } = item;

public PaletteCommitIntent Intent { get; } = intent;
}

// The command palette overlay: a Popup over the owning window's Root, a search box, a scope bar and the ranked list the
// PaletteModel feeds. It mirrors the macOS QuickSwitcher panel, which WinUI has no borderless NSPanel for.
Expand Down
Loading