diff options
| author | Jeff Carr <[email protected]> | 2023-12-31 01:48:39 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-31 01:48:39 -0600 |
| commit | 459a1639737791f7bad6961306adbddbf1d787a4 (patch) | |
| tree | f6dea969d0a3915986ef2a3e2276ca5b091f5cca /debugWindow.go | |
| parent | e51c54a1a083b7e5ab9a6797a33325757ed34b29 (diff) | |
pad grid and group by default
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debugWindow.go')
| -rw-r--r-- | debugWindow.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debugWindow.go b/debugWindow.go index c4d050b..2538fe5 100644 --- a/debugWindow.go +++ b/debugWindow.go @@ -1,5 +1,9 @@ package gui +import ( + newlog "go.wit.com/log" +) + // TODO: move all this shit into somewhere not global // main debugging window @@ -18,6 +22,9 @@ func DebugWindow() { bugWin = me.rootNode.NewWindow("go.wit.com/gui debug window").DebugTab("Debug Tab") bugWin.Custom = bugWin.StandardClose // bugWin.DebugTab("Debug Tab") + if newlog.ArgDebug() { + bugWin.DebugFlags(true) + } } func (n *Node) DebugTab(title string) *Node { |
