cmd,example: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-12-02 13:20:20 +01:00
parent 11506a974e
commit 1762e0c07b
9 changed files with 12 additions and 42 deletions
+1 -3
View File
@@ -53,9 +53,7 @@ func loop(w *app.Window) error {
color: color.RGBA{R: 0x00, G: 0x00, B: 0x00, A: 0x80},
}
gtx := &layout.Context{
Queue: w.Queue(),
}
gtx := layout.NewContext(w.Queue())
for {
e := <-w.Events()
switch e := e.(type) {