Update Gio version.
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
"gioui.org/unit"
|
||||
"gioui.org/widget/material"
|
||||
|
||||
_ "gioui.org/font/gofont"
|
||||
"gioui.org/font/gofont"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -27,6 +27,7 @@ func main() {
|
||||
}
|
||||
|
||||
func eventloop() {
|
||||
gofont.Register()
|
||||
w := app.NewWindow(
|
||||
app.Size(unit.Dp(400), unit.Dp(400)),
|
||||
app.Title("Hello"))
|
||||
|
||||
Reference in New Issue
Block a user