Example files now reflect new API change

This commit is contained in:
2023-01-30 17:25:09 -05:00
parent 801c3ef6f5
commit 58c3b23a99
6 changed files with 12 additions and 12 deletions

View File

@@ -35,7 +35,7 @@ func run () {
container.Adopt(button0, false)
container.Adopt(button1, false)
container.Adopt(button2, false)
button0.Select()
button0.Focus()
})
},
"wet": func () {
@@ -52,7 +52,7 @@ func run () {
container.Adopt(label, true)
container.Adopt(button0, false)
container.Adopt(button1, false)
button0.Select()
button0.Focus()
})
},
"house": func () {
@@ -69,7 +69,7 @@ func run () {
container.Adopt(label, true)
container.Adopt(button1, false)
container.Adopt(button0, false)
button1.Select()
button1.Focus()
})
},
"inside": func () {
@@ -86,7 +86,7 @@ func run () {
container.Warp (func () {
container.Adopt(label, true)
container.Adopt(button0, false)
button0.Select()
button0.Focus()
})
},
"bear": func () {
@@ -103,7 +103,7 @@ func run () {
container.Adopt(label, true)
container.Adopt(button0, false)
container.Adopt(button1, false)
button0.Select()
button0.Focus()
})
},
}