mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
feature: allow customized font size
This commit is contained in:
parent
7ba7e58c9f
commit
c247b03223
23 changed files with 137 additions and 87 deletions
13
src/SourceGit/Converters/FontSizeModifyConverters.cs
Normal file
13
src/SourceGit/Converters/FontSizeModifyConverters.cs
Normal 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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue