Fixed leftovers

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2355 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-12-05 19:27:53 +00:00
parent 1ba5015305
commit ddae26df89

View file

@ -282,6 +282,7 @@ namespace Greenshot.Forms {
// "Fade in" window
windowAnimator = new RectangleAnimator(new Rectangle(cursorPos, Size.Empty), captureRect, calculateFrames(700), EasingType.Quintic, EasingMode.EaseOut);
captureRect = Rectangle.Empty;
Invalidate();
break;
case CaptureMode.Window:
// Set the region capture mode
@ -292,6 +293,7 @@ namespace Greenshot.Forms {
zoomAnimator = new RectangleAnimator(Rectangle.Empty, new Rectangle(int.MaxValue, int.MaxValue, 0, 0), calculateFrames(1000), EasingType.Quintic, EasingMode.EaseOut);
VerifyZoomAnimation(cursorPos, false);
captureRect = Rectangle.Empty;
Invalidate();
break;
}
selectedCaptureWindow = null;