summaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-24 18:17:05 -0700
committerJeff Carr <[email protected]>2019-05-24 18:17:05 -0700
commit838fdb7b605c1313c6bde722772d8bed9ac1b098 (patch)
tree622ea5b5fad5a4ec4ccb4a3b51cc8018f7244fad /debug.go
parent462813cf36fca0f7197af5dea7c682f4d0e01532 (diff)
start removing the config package
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debug.go')
-rw-r--r--debug.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/debug.go b/debug.go
index acc2907..0b4efe6 100644
--- a/debug.go
+++ b/debug.go
@@ -7,8 +7,6 @@ import "strings"
import "os/exec"
import "runtime"
-import "github.com/gookit/config"
-
import "github.com/andlabs/ui"
import _ "github.com/andlabs/ui/winmanifest"
@@ -18,7 +16,7 @@ import "github.com/davecgh/go-spew/spew"
// can not pass any args to this (?)
func setupCloudUI() {
- Data.cloudWindow = ui.NewWindow("Cloud Control Panel", Data.Width, config.Int("height"), false)
+ Data.cloudWindow = ui.NewWindow("Cloud Control Panel", Data.Width, Data.Height, false)
Data.cloudWindow.OnClosing(func(*ui.Window) bool {
ui.Quit()
return true