ファイル
YMM4-UndoTree/UndoTree/UndoTreeSettings.cs
T

31 行
886 B
C#

using YukkuriMovieMaker.Plugin;
namespace UndoTree;
internal class UndoTreeSettings : SettingsBase<UndoTreeSettings>
{
public override SettingsCategory Category => SettingsCategory.None;
public override string Name => Texts.UndoTree;
public override bool HasSettingView => false;
public override object? SettingView => null;
public int MaxNodes { get; set => Set(ref field, Math.Clamp(value, 20, 5000)); } = 500;
public bool FollowCurrent { get; set => Set(ref field, value); } = true;
public bool ShowTime { get; set => Set(ref field, value); } = true;
public bool PreferReplay { get; set => Set(ref field, value); }
public bool SelectionOnly { get; set => Set(ref field, value); }
public ConflictPolicy ConflictPolicy { get; set => Set(ref field, value); } = ConflictPolicy.Skip;
public override void Initialize()
{
}
}