Magnifier position fix

This commit is contained in:
Jaex 2014-05-31 17:08:21 +03:00
parent f7463f7db0
commit 2ed433ffef
2 changed files with 7 additions and 2 deletions

View file

@ -290,7 +290,12 @@ private void DrawCrosshair(Graphics g)
private void DrawMagnifier(Graphics g)
{
Point mousePos = InputManager.MousePosition0Based;
int offsetX = 10, offsetY = 50;
int offsetX = 10, offsetY = 10;
if (Config.ShowInfo && AreaManager.IsCurrentAreaValid && AreaManager.CurrentArea.Location == mousePos)
{
offsetY = 50;
}
using (Bitmap magnifier = Magnifier(SurfaceImage, mousePos, Config.MagnifierPixelCount, Config.MagnifierPixelCount, Config.MagnifierPixelSize))
{

View file

@ -34,7 +34,7 @@ public class SurfaceOptions
[DefaultValue(true), Description("Allow screenshot capture as soon as the mouse is released. This disables the ability to capture multiple shapes and to move and/or resize them.")]
public bool QuickCrop { get; set; }
[DefaultValue(true), Description("Show coordinate and size information.")]
[DefaultValue(false), Description("Show coordinate and size information.")]
public bool ShowInfo { get; set; }
[DefaultValue(true), Description("Show magnifier.")]