mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Greenshot merge
This commit is contained in:
parent
91e476d99a
commit
bbe105607f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue