mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Modified the enumeration to resize the font, depending on the size. Also made sure the suspend/resume layout is called when transforming containers.
This commit is contained in:
parent
85d73cd8e0
commit
e75925018b
4 changed files with 40 additions and 31 deletions
|
@ -739,6 +739,7 @@ namespace Greenshot.Drawing {
|
|||
if (matrix == null) {
|
||||
return;
|
||||
}
|
||||
SuspendLayout();
|
||||
Point topLeft = new Point(Left, Top);
|
||||
Point bottomRight = new Point(Left + Width, Top + Height);
|
||||
Point[] points;
|
||||
|
@ -757,6 +758,7 @@ namespace Greenshot.Drawing {
|
|||
if (TargetGripper != null) {
|
||||
TargetGripper.Location = points[points.Length-1];
|
||||
}
|
||||
ResumeLayout();
|
||||
}
|
||||
|
||||
protected virtual ScaleHelper.IDoubleProcessor GetAngleRoundProcessor() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue