mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
BUG-2736: Fixed an issue where there Speechbubble tail is not moved when it's transformed.
This commit is contained in:
parent
aff8ba2109
commit
473de792ad
1 changed files with 12 additions and 0 deletions
|
@ -329,5 +329,17 @@ namespace Greenshot.Drawing
|
|||
public override bool ClickableAt(int x, int y) {
|
||||
return Contains(x,y);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Additional to the Transform of the TextContainer the bubble tail coordinates also need to be moved
|
||||
/// </summary>
|
||||
/// <param name="matrix">Matrix</param>
|
||||
public override void Transform(Matrix matrix)
|
||||
{
|
||||
Point[] points = { TargetAdorner.Location };
|
||||
matrix.TransformPoints(points);
|
||||
TargetAdorner.Location = points[0];
|
||||
base.Transform(matrix);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue