Font size field type fix

Font size value is used as a float. Wrong type here causes exceptions.
This commit is contained in:
MXI 2020-04-18 00:36:50 +03:00 committed by GitHub
commit 3660d77e8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ namespace Greenshot.Addon.LegacyEditor.Drawing.Fields
/// <summary>
/// This field specifies the font size
/// </summary>
public static readonly IFieldType FONT_SIZE = new FieldType<int>("FONT_SIZE");
public static readonly IFieldType FONT_SIZE = new FieldType<float>("FONT_SIZE");
/// <summary>
/// This field specifies the horizontal text alignment
/// </summary>