Enabling mouse on Autocomplete demos.

This commit is contained in:
Oliver 2022-12-21 18:28:51 +01:00
parent 02e38ea960
commit 9c04916f4e
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ func main() {
} }
return return
}) })
if err := app.SetRoot(inputField, true).Run(); err != nil { if err := app.EnableMouse(true).SetRoot(inputField, true).Run(); err != nil {
panic(err) panic(err)
} }
} }

View File

@ -75,7 +75,7 @@ func main() {
return nil return nil
}) })
if err := app.SetRoot(inputField, true).Run(); err != nil { if err := app.EnableMouse(true).SetRoot(inputField, true).Run(); err != nil {
panic(err) panic(err)
} }
} }