~eliasnaur/gio

9be695cc2426a690ae12a723399f654626e7c17a — Elias Naur 8 months ago f223c7b
ui: fix TransformOp.Offset

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

M ui/ui.go
M ui/ui.go => ui/ui.go +1 -1
@@ 57,7 57,7 @@ func (r *InvalidateOp) Decode(d []byte) {
}

func (t TransformOp) Offset(o f32.Point) TransformOp {
	return TransformOp{o}
	return t.Mul(TransformOp{o})
}

func (t TransformOp) InvTransform(p f32.Point) f32.Point {