From bfb8a1a7e6fefdd011124f94613216e62a786180 Mon Sep 17 00:00:00 2001 From: JKlingen Date: Sat, 17 Nov 2012 23:02:38 +0000 Subject: [PATCH] clear ZoomForm before painting so that areas out of screen bounds are displayed in solid black git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2291 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- Greenshot/Forms/ZoomForm.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Greenshot/Forms/ZoomForm.cs b/Greenshot/Forms/ZoomForm.cs index 4364157f7..eee7f576d 100644 --- a/Greenshot/Forms/ZoomForm.cs +++ b/Greenshot/Forms/ZoomForm.cs @@ -107,6 +107,7 @@ namespace Greenshot.Forms { return; } Graphics graphics = e.Graphics; + graphics.Clear(Color.Black); graphics.SmoothingMode = SmoothingMode.None; graphics.InterpolationMode = InterpolationMode.NearestNeighbor; graphics.CompositingQuality = CompositingQuality.HighSpeed;