mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Fix magnifier ellipse one off issue, set magnifier pixel size minimum 3
This commit is contained in:
parent
651d1601d0
commit
35363e7ac9
2 changed files with 3 additions and 3 deletions
|
@ -665,8 +665,8 @@ private void DrawCursorGraphics(Graphics g)
|
|||
else
|
||||
{
|
||||
g.FillEllipse(brush, x, y + magnifierPosition, magnifier.Width, magnifier.Height);
|
||||
g.DrawEllipse(Pens.White, x - 1, y + magnifierPosition - 1, magnifier.Width + 2, magnifier.Height + 2);
|
||||
g.DrawEllipse(Pens.Black, x, y + magnifierPosition, magnifier.Width, magnifier.Height);
|
||||
g.DrawEllipse(Pens.White, x - 1, y + magnifierPosition - 1, magnifier.Width + 2 - 1, magnifier.Height + 2 - 1);
|
||||
g.DrawEllipse(Pens.Black, x, y + magnifierPosition, magnifier.Width - 1, magnifier.Height - 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ public class RegionCaptureOptions
|
|||
{
|
||||
public const int MagnifierPixelCountMinimum = 3;
|
||||
public const int MagnifierPixelCountMaximum = 35;
|
||||
public const int MagnifierPixelSizeMinimum = 2;
|
||||
public const int MagnifierPixelSizeMinimum = 3;
|
||||
public const int MagnifierPixelSizeMaximum = 30;
|
||||
public const int SnapDistance = 30;
|
||||
public const int MoveSpeedMinimum = 1;
|
||||
|
|
Loading…
Reference in a new issue