Skip to content

Commit

Permalink
Fixed positioning of selection rectangle for previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
don-mccomb committed Dec 29, 2012
1 parent da7018e commit 4896709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pinta.Core/Classes/Document.cs
Expand Up @@ -823,7 +823,7 @@ public void Paste (bool toNewLayer, int x = 0, int y = 0)
{

g.DrawPixbuf (cbImage, new Cairo.Point (0, 0));
p = g.CreateRectanglePath (new Cairo.Rectangle (0, 0, cbImage.Width, cbImage.Height));
p = g.CreateRectanglePath (new Cairo.Rectangle (x, y, cbImage.Width, cbImage.Height));
}

SelectionLayer.Transform.InitIdentity();
Expand Down

0 comments on commit 4896709

Please sign in to comment.