App Settings: transition type and length picker
Cut/Fade/Move and a 100-2000 ms length, bound to the view model; changes save with the layout. Test: TransitionPickerTests. Not pushed.
This commit is contained in:
@@ -97,14 +97,14 @@ public partial class MainViewModel
|
||||
public TransitionType SelectedTransitionType
|
||||
{
|
||||
get => _selectedTransitionType;
|
||||
set => SetProperty(ref _selectedTransitionType, value);
|
||||
set { if (SetProperty(ref _selectedTransitionType, value)) ScheduleSave(); }
|
||||
}
|
||||
private TransitionType _selectedTransitionType = TransitionType.Fade;
|
||||
|
||||
public double TransitionDurationMs
|
||||
{
|
||||
get => _transitionDurationMs;
|
||||
set => SetProperty(ref _transitionDurationMs, value);
|
||||
set { if (SetProperty(ref _transitionDurationMs, value)) ScheduleSave(); }
|
||||
}
|
||||
private double _transitionDurationMs = 300;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user