Compare commits

..

1 Commits

View File

@ -288,8 +288,7 @@ func (r *Renderer) Line(p, q geom.PointF32, color color.Color, thickness float32
} }
func (r *Renderer) Location() geom.Point { func (r *Renderer) Location() geom.Point {
x, y := r.disp.Position() return geom.Pt(r.disp.Position()...)
return geom.Pt(x, y)
} }
func (r *Renderer) Move(to geom.Point) { func (r *Renderer) Move(to geom.Point) {