33 行
959 B
C#
33 行
959 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 bool FoldRuns { get; set => Set(ref field, value); } = true;
|
|
|
|
public ConflictPolicy ConflictPolicy { get; set => Set(ref field, value); } = ConflictPolicy.Skip;
|
|
|
|
public override void Initialize()
|
|
{
|
|
}
|
|
}
|