~eliasnaur/gio

af68e17dd3245dcea870835fd1aedf5f571b19b2 — Elias Naur 27 days ago 7c1a21c
op/paint: set subimage Rect when converting image

Signed-off-by: Elias Naur <mail@eliasnaur.com>
1 files changed, 1 insertions(+), 0 deletions(-)

M op/paint/paint.go
M op/paint/paint.go => op/paint/paint.go +1 -0
@@ 63,6 63,7 @@ func NewImageOp(src image.Image) ImageOp {
	})
	draw.Draw(dst, dst.Bounds(), src, src.Bounds().Min, draw.Src)
	return ImageOp{
		Rect:   dst.Bounds(),
		src:    dst,
		handle: new(int),
	}