forked from joejulian/gio
apps: update go latest gioui.org/ui version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ module gioui.org/apps
|
|||||||
go 1.12
|
go 1.12
|
||||||
|
|
||||||
require (
|
require (
|
||||||
gioui.org/ui v0.0.0-20190814083508-56926a044990
|
gioui.org/ui v0.0.0-20190821125935-6a7e38eb329f
|
||||||
github.com/google/go-github/v24 v24.0.1
|
github.com/google/go-github/v24 v24.0.1
|
||||||
golang.org/x/exp v0.0.0-20190627132806-fd42eb6b336f
|
golang.org/x/exp v0.0.0-20190627132806-fd42eb6b336f
|
||||||
golang.org/x/image v0.0.0-20190703141733-d6a02ce849c9
|
golang.org/x/image v0.0.0-20190703141733-d6a02ce849c9
|
||||||
|
|||||||
@@ -54,11 +54,11 @@ func main() {
|
|||||||
fmt.Println("See https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line.")
|
fmt.Println("See https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line.")
|
||||||
}
|
}
|
||||||
go func() {
|
go func() {
|
||||||
w := app.NewWindow(&app.WindowOptions{
|
w := app.NewWindow(
|
||||||
Width: ui.Dp(400),
|
app.WithWidth(ui.Dp(400)),
|
||||||
Height: ui.Dp(800),
|
app.WithHeight(ui.Dp(800)),
|
||||||
Title: "Gophers",
|
app.WithTitle("Gophers"),
|
||||||
})
|
)
|
||||||
if err := newApp(w).run(); err != nil {
|
if err := newApp(w).run(); err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
go func() {
|
go func() {
|
||||||
w := app.NewWindow(nil)
|
w := app.NewWindow()
|
||||||
if err := loop(w); err != nil {
|
if err := loop(w); err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user