mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-04 22:21:23 +12:00
Fixed crop issue
This commit is contained in:
parent
2967ef2643
commit
fefca5eef2
|
@ -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