feature: allow customized font size

This commit is contained in:
leo 2024-03-22 12:03:04 +08:00
parent 7ba7e58c9f
commit c247b03223
23 changed files with 137 additions and 87 deletions

View file

@ -0,0 +1,13 @@
using Avalonia.Data.Converters;
namespace SourceGit.Converters
{
public static class FontSizeModifyConverters
{
public static FuncValueConverter<double, double> Increase =
new FuncValueConverter<double, double>(v => v + 1.0);
public static FuncValueConverter<double, double> Decrease =
new FuncValueConverter<double, double>(v => v - 1.0);
}
}