mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 13:10:00 -07:00
BUG-2104: Fixed an initialization issue, and a problem with drawing. This should make the Speechbubble more stable!
This commit is contained in:
parent
a5cabb2ced
commit
952e521805
1 changed files with 3 additions and 3 deletions
|
@ -56,9 +56,10 @@ namespace Greenshot.Drawing
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Restore the target gripper
|
/// Restore the target gripper
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="context"></param>
|
/// <param name="streamingContext">StreamingContext</param>
|
||||||
protected override void OnDeserialized(StreamingContext context)
|
protected override void OnDeserialized(StreamingContext streamingContext)
|
||||||
{
|
{
|
||||||
|
base.OnDeserialized(streamingContext);
|
||||||
InitAdorner(Color.Green, _storedTargetGripperLocation);
|
InitAdorner(Color.Green, _storedTargetGripperLocation);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
@ -303,7 +304,6 @@ namespace Greenshot.Drawing
|
||||||
tail.Dispose();
|
tail.Dispose();
|
||||||
|
|
||||||
// Draw the text
|
// Draw the text
|
||||||
UpdateFormat();
|
|
||||||
DrawText(graphics, rect, lineThickness, lineColor, shadow, StringFormat, Text, Font);
|
DrawText(graphics, rect, lineThickness, lineColor, shadow, StringFormat, Text, Font);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue