sourcegit/src/Converters/FontSizeModifyConverters.cs

14 lines
419 B
C#
Raw Normal View History

2024-03-21 21:03:04 -07:00
using Avalonia.Data.Converters;
namespace SourceGit.Converters
{
public static class FontSizeModifyConverters
{
public static readonly FuncValueConverter<double, double> Increase =
2024-03-21 21:03:04 -07:00
new FuncValueConverter<double, double>(v => v + 1.0);
public static readonly FuncValueConverter<double, double> Decrease =
2024-03-21 21:03:04 -07:00
new FuncValueConverter<double, double>(v => v - 1.0);
}
}