21 行
767 B
C#
21 行
767 B
C#
using System.Windows;
|
|
|
|
namespace UndoTree;
|
|
|
|
internal static class UndoTreeLayout
|
|
{
|
|
public const double DefaultDetailsHeight = 160;
|
|
public const double MinDetailsHeight = 60;
|
|
public const double MaxDetailsHeight = 600;
|
|
public const double MinTreeHeight = 60;
|
|
public const double IndentWidth = 16;
|
|
public const double RowPadding = 4;
|
|
public const double RowContentHeight = IndentWidth + 2 * RowPadding;
|
|
public static readonly Thickness RowInset = new(RowPadding, 0, RowPadding, 0);
|
|
public const int FilterDelayMilliseconds = 150;
|
|
public const double PathOpacity = 1;
|
|
public const double RedoOpacity = 0.75;
|
|
public const double OtherBranchOpacity = 0.55;
|
|
public const double UnavailableOpacity = OtherBranchOpacity;
|
|
}
|