mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Fixed screenbounds checking for the zoom
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2315 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
f6e214e12a
commit
92053efdfc
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ namespace Greenshot.Forms {
|
|||
Rectangle tr = new Rectangle(pos.X + distanceX, pos.Y - (distanceY + size.Height), size.Width, size.Height);
|
||||
Rectangle bl = new Rectangle(pos.X - (distanceX + size.Width), pos.Y + distanceY, size.Width, size.Height);
|
||||
Rectangle br = new Rectangle(pos.X + distanceX, pos.Y + distanceY, size.Width, size.Height);
|
||||
Rectangle screenBounds = Screen.GetBounds(pos);
|
||||
Rectangle screenBounds = capture.ScreenBounds;
|
||||
if (screenBounds.Contains(br)) {
|
||||
return br;
|
||||
} else if (screenBounds.Contains(bl)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue