diff options
| author | Jeff Carr <[email protected]> | 2019-06-17 07:07:54 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-17 07:07:54 -0700 |
| commit | 37d30e4c41759343f8d594eaa9881c933f17c6d7 (patch) | |
| tree | b30a8467a6f4e15e99b98cc33f0075a2b82e3756 /window.go | |
| parent | d049100b42d18ad15f1ad10a2c35481c1ccfef4c (diff) | |
woops. pretty wrong error in making a new window
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ func StartNewWindow(bg bool, name string, axis int, callback func(*GuiBox) *GuiB if (bg) { log.Println("StartNewWindow() START NEW GOROUTINE for ui.Main()") go ui.Main(func() { - log.Println("gui.StartNewWindow() inside ui.Main()") + log.Println("gui.StartNewWindow() inside ui.Main() in NEW goroutine") // InitWindow must be called from within ui.Main() box := InitWindow(nil, name, axis) @@ -21,7 +21,7 @@ func StartNewWindow(bg bool, name string, axis int, callback func(*GuiBox) *GuiB window := box.Window log.Println("StartNewWindow() box =", box) - go runWindow(window.UiWindow) + runWindow(window.UiWindow) }) time.Sleep(2000 * time.Millisecond) // this might make it more stable on windows? } else { |
