example: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-10-23 10:21:08 +02:00
parent 143d2aae95
commit 9a62468c25
6 changed files with 9 additions and 7 deletions
+2
View File
@@ -12,6 +12,7 @@ import (
"runtime"
"gioui.org/f32"
"gioui.org/font/gofont"
"gioui.org/gesture"
"gioui.org/io/key"
"gioui.org/io/pointer"
@@ -64,6 +65,7 @@ type user struct {
var theme *material.Theme
func init() {
gofont.Register()
theme = material.NewTheme()
theme.Color.Text = rgb(0x333333)
theme.Color.Hint = rgb(0xbbbbbb)