mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
UI - Fix build warnings
UI - Add remote controller
This commit is contained in:
1 parent
1779629bc6
commit
a2a063c136
19 files changed
+687
-102
No files matched your search
+2
-2
@@ -28,7 +28,7 @@ public abstract class TimelineSegmentViewModel : ActivatableViewModelBase
|
||||
private ObservableAsPropertyHelper<bool>? _showAddEnd;
|
||||
private ObservableAsPropertyHelper<bool>? _showAddMain;
|
||||
private ObservableAsPropertyHelper<bool>? _showAddStart;
|
||||
private ReactiveCommand<Unit, Unit> _removeSegment;
|
||||
private ReactiveCommand<Unit, Unit>? _removeSegment;
|
||||
|
||||
protected TimelineSegmentViewModel(IProfileEditorService profileEditorService, IWindowService windowService)
|
||||
{
|
||||
@@ -102,7 +102,7 @@ public abstract class TimelineSegmentViewModel : ActivatableViewModelBase
|
||||
|
||||
public ReactiveCommand<Unit, Unit> EditTime { get; }
|
||||
|
||||
public ReactiveCommand<Unit, Unit> RemoveSegment
|
||||
public ReactiveCommand<Unit, Unit>? RemoveSegment
|
||||
{
|
||||
get => _removeSegment;
|
||||
set => RaiseAndSetIfChanged(ref _removeSegment, value);
|
||||
|
||||
@@ -27,11 +27,11 @@ public class ProfileEditorViewModel : MainScreenViewModel
|
||||
private ObservableAsPropertyHelper<ProfileEditorHistory?>? _history;
|
||||
private ObservableAsPropertyHelper<ProfileConfiguration?>? _profileConfiguration;
|
||||
private ObservableAsPropertyHelper<bool>? _suspendedEditing;
|
||||
private StatusBarViewModel _statusBarViewModel;
|
||||
private DisplayConditionScriptViewModel _displayConditionScriptViewModel;
|
||||
private PropertiesViewModel _propertiesViewModel;
|
||||
private ProfileTreeViewModel _profileTreeViewModel;
|
||||
private VisualEditorViewModel _visualEditorViewModel;
|
||||
private StatusBarViewModel? _statusBarViewModel;
|
||||
private DisplayConditionScriptViewModel? _displayConditionScriptViewModel;
|
||||
private PropertiesViewModel? _propertiesViewModel;
|
||||
private ProfileTreeViewModel? _profileTreeViewModel;
|
||||
private VisualEditorViewModel? _visualEditorViewModel;
|
||||
|
||||
/// <inheritdoc />
|
||||
public ProfileEditorViewModel(IScreen hostScreen,
|
||||
@@ -79,31 +79,31 @@ public class ProfileEditorViewModel : MainScreenViewModel
|
||||
ToggleAutoSuspend = ReactiveCommand.Create(ExecuteToggleAutoSuspend);
|
||||
}
|
||||
|
||||
public VisualEditorViewModel VisualEditorViewModel
|
||||
public VisualEditorViewModel? VisualEditorViewModel
|
||||
{
|
||||
get => _visualEditorViewModel;
|
||||
set => RaiseAndSetIfChanged(ref _visualEditorViewModel, value);
|
||||
}
|
||||
|
||||
public ProfileTreeViewModel ProfileTreeViewModel
|
||||
public ProfileTreeViewModel? ProfileTreeViewModel
|
||||
{
|
||||
get => _profileTreeViewModel;
|
||||
set => RaiseAndSetIfChanged(ref _profileTreeViewModel, value);
|
||||
}
|
||||
|
||||
public PropertiesViewModel PropertiesViewModel
|
||||
public PropertiesViewModel? PropertiesViewModel
|
||||
{
|
||||
get => _propertiesViewModel;
|
||||
set => RaiseAndSetIfChanged(ref _propertiesViewModel, value);
|
||||
}
|
||||
|
||||
public DisplayConditionScriptViewModel DisplayConditionScriptViewModel
|
||||
public DisplayConditionScriptViewModel? DisplayConditionScriptViewModel
|
||||
{
|
||||
get => _displayConditionScriptViewModel;
|
||||
set => RaiseAndSetIfChanged(ref _displayConditionScriptViewModel, value);
|
||||
}
|
||||
|
||||
public StatusBarViewModel StatusBarViewModel
|
||||
public StatusBarViewModel? StatusBarViewModel
|
||||
{
|
||||
get => _statusBarViewModel;
|
||||
set => RaiseAndSetIfChanged(ref _statusBarViewModel, value);
|
||||
|
||||
Reference in new issue
Block a user