mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
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
This commit is contained in:
parent
69a88eeb25
commit
f6e214e12a
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue