From 40252b179d65028ff96b52c22401e69cecb4004b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 17 Jun 2019 10:28:40 -0700 Subject: shorten times Signed-off-by: Jeff Carr --- debug.go | 4 ++-- window.go | 2 +- 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() { -- cgit v1.2.3