mirror of
https://github.com/unclshura/splitter.git
synced 2026-06-22 00:22:01 +00:00
26 lines
530 B
C#
26 lines
530 B
C#
using System.Collections.ObjectModel;
|
|
using Avalonia.Controls;
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using CommunityToolkit.Mvvm.Input;
|
|
|
|
namespace Splitter_UI.ViewModels;
|
|
|
|
public partial class InspectorPaneViewModel : ObservableObject
|
|
{
|
|
[ObservableProperty]
|
|
private FileJobViewModel? _selected;
|
|
|
|
public List<string> DetectModes =>
|
|
[
|
|
"face", "body", "none"
|
|
];
|
|
|
|
[RelayCommand]
|
|
private void ApplyOverrides()
|
|
{
|
|
if (Selected is null)
|
|
return;
|
|
|
|
}
|
|
}
|