Converters fix for release 1.3

This commit is contained in:
Killy 2020-05-03 21:11:39 +03:00
commit 061d93b0ae
2 changed files with 4 additions and 4 deletions

View file

@ -35,8 +35,8 @@ namespace Greenshot.Drawing.Fields.Binding {
}
protected override float convert(decimal o) {
return Convert.ToInt16(o);
}
return Convert.ToSingle(o);
}
public static DecimalFloatConverter GetInstance()
{

View file

@ -35,8 +35,8 @@ namespace Greenshot.Drawing.Fields.Binding {
}
protected override int convert(decimal o) {
return Convert.ToInt16(o);
}
return Convert.ToInt32(o);
}
public static DecimalIntConverter GetInstance()
{