Fixed last commit: accidentally removed our nice green fill when taking a region capture...

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1879 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-05-18 11:45:56 +00:00
parent f01731ef16
commit 20f759baf3

View file

@ -345,7 +345,8 @@ namespace Greenshot.Forms {
if (mouseDown || captureMode == CaptureMode.Window) {
captureRect.Intersect(new Rectangle(Point.Empty, capture.ScreenBounds.Size)); // crop what is outside the screen
Rectangle fixedRect = new Rectangle( captureRect.X, captureRect.Y, captureRect.Width, captureRect.Height );
graphics.DrawRectangle( OverlayPen, fixedRect );
graphics.FillRectangle(GreenOverlayBrush, fixedRect);
graphics.DrawRectangle(OverlayPen, fixedRect);
// rulers
int dist = 8;