From f6e214e12a65b23558d8e960235338689ee63d90 Mon Sep 17 00:00:00 2001 From: JKlingen Date: Sun, 25 Nov 2012 17:07:05 +0000 Subject: [PATCH] fixed zoomarea offset in case of negative coordinates in screen layout (multiscreen) git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2314 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- Greenshot/Forms/CaptureForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Greenshot/Forms/CaptureForm.cs b/Greenshot/Forms/CaptureForm.cs index 264bdd051..b67d5926e 100644 --- a/Greenshot/Forms/CaptureForm.cs +++ b/Greenshot/Forms/CaptureForm.cs @@ -665,7 +665,7 @@ namespace Greenshot.Forms { const int zoomSourceHeight = 25; Rectangle sourceRectangle = new Rectangle(cursorPosOnBitmap.X - (zoomSourceWidth / 2), cursorPosOnBitmap.Y - (zoomSourceHeight / 2), zoomSourceWidth, zoomSourceHeight); - DrawZoom(graphics, sourceRectangle, ZoomArea(cursorPos, new Size(200, 200))); + DrawZoom(graphics, sourceRectangle, ZoomArea(cursorPosOnBitmap, new Size(200, 200))); } }