You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go run github.com/ajstarks/giocanvas/hello
go: finding module for package github.com/ajstarks/giocanvas/hello
go: found github.com/ajstarks/giocanvas/hello in github.com/ajstarks/giocanvas v0.0.0-20200531170401-8df5478cf848
go: finding module for package gioui.org/app
go: finding module for package gioui.org/op
go: finding module for package gioui.org/f32
go: finding module for package gioui.org/layout
go: finding module for package gioui.org/text
go: finding module for package gioui.org/font/gofont
go: finding module for package gioui.org/widget/material
go: finding module for package gioui.org/op/paint
go: finding module for package gioui.org/io/system
go: finding module for package gioui.org/op/clip
go: finding module for package gioui.org/unit
go: found gioui.org/app in gioui.org v0.0.0-20200531112915-23c2d44b8cfe
# github.com/ajstarks/giocanvas
../../go/pkg/mod/github.com/ajstarks/giocanvas@v0.0.0-20200531170401-8df5478cf848/giocanvas.go:218:12: cannot use c.Context (type *layout.Context) as type layout.Context in argument to l.Layout
Thank you so much for creating this library.
The text was updated successfully, but these errors were encountered:
Fixed with revision d6c5996. NewCanvas now does what the old context Reset code used to. Also for text operations, you must explicitly call gofont.Register() before any text operations, sadly.
Thank you so much for creating this library.
The text was updated successfully, but these errors were encountered: