Greenshot merge

This commit is contained in:
Jaex 2015-02-11 08:56:02 +02:00
parent 91e476d99a
commit bbe105607f

View file

@ -288,7 +288,7 @@ public override void Transform(Matrix matrix)
rect = GuiRectangle.GetGuiRectangle(Left, Top, Width, Height);
int pixelsAfter = rect.Width * rect.Height;
float factor = pixelsAfter / pixelsBefore;
float factor = pixelsAfter / (float)pixelsBefore;
float fontSize = GetFieldValueAsFloat(FieldType.FONT_SIZE);
fontSize *= factor;