summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debug.go4
-rw-r--r--window.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/debug.go b/debug.go
index b206cef..ec60df2 100644
--- a/debug.go
+++ b/debug.go
@@ -90,6 +90,6 @@ func addTableTab() {
parts = append(parts, b)
}
- log.Println("Sleep for 2 seconds, then try to add new tabs")
- time.Sleep(1 * 1000 * 1000 * 1000)
+ log.Println("Sleep for 1 second, then try to add new tabs")
+ time.Sleep(1 * time.Second)
}
diff --git a/window.go b/window.go
index 80f9908..5dc3c9c 100644
--- a/window.go
+++ b/window.go
@@ -23,7 +23,7 @@ func StartNewWindow(bg bool, name string, axis int, callback func(*GuiBox) *GuiB
runWindow(window.UiWindow)
})
- time.Sleep(2000 * time.Millisecond) // this might make it more stable on windows?
+ time.Sleep(500 * time.Millisecond) // this might make it more stable on windows?
} else {
log.Println("StartNewWindow() WAITING for ui.Main()")
ui.Main(func() {