mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
BUG-1735 fixed exception when scaling down screenshot with text element
This commit is contained in:
parent
960528b021
commit
cc65001d34
23 changed files with 722 additions and 279 deletions
|
@ -86,6 +86,8 @@ namespace Greenshot.Drawing {
|
|||
}
|
||||
using (Pen pen = new Pen(lineColor, lineThickness)) {
|
||||
SetArrowHeads(heads, pen);
|
||||
graphics.Flush(FlushIntention.Sync);
|
||||
graphics.SmoothingMode = SmoothingMode.None;
|
||||
graphics.DrawLine(pen, Left, Top, Left + Width, Top + Height);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue