mirror of
https://github.com/greenshot/greenshot.git
synced 2025-03-12 05:25:25 -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
@ -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…
x
Reference in New Issue
Block a user