Permalink
Browse files

Fixed positioning of selection rectangle for previous commit

  • Loading branch information...
don-mccomb committed Dec 29, 2012
1 parent da7018e commit 48967096ff3d4c6654d9158548aed8b0c21d4f83
Showing with 1 addition and 1 deletion.
  1. +1 −1 Pinta.Core/Classes/Document.cs
@@ -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();

0 comments on commit 4896709

Please sign in to comment.