mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 21:43:24 -07:00
This fixes a bug in the resize logic, the colors of the edges were not calculated correctly by GDI. Also added some additional dispose calls.
This commit is contained in:
parent
823d85ecdd
commit
089eec769e
5 changed files with 22 additions and 12 deletions
|
@ -688,6 +688,9 @@ namespace Greenshot.Forms {
|
|||
// Horizontal middle + 1 to right
|
||||
graphics.DrawRectangle(pen, destinationRectangle.X + halfWidthEnd + 2 * padding, drawAtHeight, halfWidthEnd - 2 * padding - 1, pixelThickness);
|
||||
}
|
||||
if (attributes != null) {
|
||||
attributes.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue