mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-04 04:06:05 +13:00
Fixed crop issue
This commit is contained in:
parent
2967ef2643
commit
fefca5eef2
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ internal void InitBackground(Image img)
|
|||
|
||||
if (IsEditorMode)
|
||||
{
|
||||
ImageRectangle = new Rectangle(ImageRectangle.X, ImageRectangle.Y, Image.Width, Image.Height);
|
||||
ImageRectangle = new Rectangle(0, 0, Image.Width, Image.Height);
|
||||
|
||||
using (Bitmap background = new Bitmap(Image.Width, Image.Height))
|
||||
using (Graphics g = Graphics.FromImage(background))
|
||||
|
|
Loading…
Reference in a new issue