From 952e52180568f990ba317c1bb3a2d3e64cd2b48f Mon Sep 17 00:00:00 2001 From: Robin Date: Fri, 13 Jan 2017 21:44:20 +0100 Subject: [PATCH] BUG-2104: Fixed an initialization issue, and a problem with drawing. This should make the Speechbubble more stable! --- Greenshot/Drawing/SpeechbubbleContainer.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Greenshot/Drawing/SpeechbubbleContainer.cs b/Greenshot/Drawing/SpeechbubbleContainer.cs index f90643ae9..0cdfb91c1 100644 --- a/Greenshot/Drawing/SpeechbubbleContainer.cs +++ b/Greenshot/Drawing/SpeechbubbleContainer.cs @@ -56,9 +56,10 @@ namespace Greenshot.Drawing /// /// Restore the target gripper /// - /// - protected override void OnDeserialized(StreamingContext context) + /// StreamingContext + protected override void OnDeserialized(StreamingContext streamingContext) { + base.OnDeserialized(streamingContext); InitAdorner(Color.Green, _storedTargetGripperLocation); } #endregion @@ -303,7 +304,6 @@ namespace Greenshot.Drawing tail.Dispose(); // Draw the text - UpdateFormat(); DrawText(graphics, rect, lineThickness, lineColor, shadow, StringFormat, Text, Font); }