cmd/gogio/testdata: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-10-27 15:42:18 +01:00
parent a8e5e7a788
commit 3de204b8ef
3 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -9,6 +9,7 @@ import (
"gioui.org/app"
"gioui.org/f32"
"gioui.org/io/system"
"gioui.org/op"
"gioui.org/op/paint"
)
@@ -29,9 +30,9 @@ func loop(w *app.Window) error {
for {
e := <-w.Events()
switch e := e.(type) {
case app.DestroyEvent:
case system.DestroyEvent:
return e.Err
case app.FrameEvent:
case system.FrameEvent:
ops.Reset()
paint.ColorOp{Color: background}.Add(ops)
paint.PaintOp{Rect: f32.Rectangle{Max: f32.Point{