cmd: update to latest API

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-06-21 17:15:44 +02:00
parent 0b6dd4efd9
commit b94119d093
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ func loop(w *app.Window) {
for w.IsAlive() {
e := <-w.Events()
switch e := e.(type) {
case app.Draw:
case app.DrawEvent:
cfg = e.Config
cs := layout.ExactConstraints(w.Size())
ops.Reset()