mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 00:16:15 +00:00
example: update gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -14,7 +14,7 @@ import (
|
||||
"gioui.org/text"
|
||||
"gioui.org/widget/material"
|
||||
|
||||
_ "gioui.org/font/gofont"
|
||||
"gioui.org/font/gofont"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -28,6 +28,7 @@ func main() {
|
||||
}
|
||||
|
||||
func loop(w *app.Window) error {
|
||||
gofont.Register()
|
||||
th := material.NewTheme()
|
||||
gtx := &layout.Context{
|
||||
Queue: w.Queue(),
|
||||
|
||||
Reference in New Issue
Block a user