mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 22:34:27 -07:00
Fixed bug #149 for Greenshot 2.x too
This commit is contained in:
parent
ea312eff65
commit
881d6c6ec8
1 changed files with 5 additions and 0 deletions
|
@ -351,6 +351,11 @@ namespace Greenshot.Helpers
|
||||||
|
|
||||||
_capture = WindowCapture.CaptureRectangle(_capture, screen.Bounds);
|
_capture = WindowCapture.CaptureRectangle(_capture, screen.Bounds);
|
||||||
captureTaken = true;
|
captureTaken = true;
|
||||||
|
|
||||||
|
// As the screen shot might be on a different monitor we need to correct the mouse location
|
||||||
|
var correctedCursorLocation = _capture.CursorLocation;
|
||||||
|
correctedCursorLocation.Offset(-screen.Bounds.Location.X, -screen.Bounds.Location.Y);
|
||||||
|
_capture.CursorLocation = correctedCursorLocation;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue