From 20f759baf3adb584cd09a6ae4a8e41d66d33b25e Mon Sep 17 00:00:00 2001 From: RKrom Date: Fri, 18 May 2012 11:45:56 +0000 Subject: [PATCH] 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 --- Greenshot/Forms/CaptureForm.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Greenshot/Forms/CaptureForm.cs b/Greenshot/Forms/CaptureForm.cs index 1c32bb2d6..4f6fbc52c 100644 --- a/Greenshot/Forms/CaptureForm.cs +++ b/Greenshot/Forms/CaptureForm.cs @@ -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;