diff options
| author | Jeff Carr <[email protected]> | 2024-01-17 23:39:03 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-17 23:39:03 -0600 |
| commit | a0baba0821441d9cf38f0b33fe12fb96925c6236 (patch) | |
| tree | 2aece2a890c66c36b08524e117753817078ee58c /gocui/tab.go | |
| parent | bee272651ad38453aef27f098513f7be652c39bf (diff) | |
new paths
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gocui/tab.go')
| -rw-r--r-- | gocui/tab.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gocui/tab.go b/gocui/tab.go index 14f6203..f0fc563 100644 --- a/gocui/tab.go +++ b/gocui/tab.go @@ -5,8 +5,8 @@ package main import ( "strings" + "go.wit.com/lib/widget" "go.wit.com/log" - "go.wit.com/gui/widget" ) func (w *guiWidget) Width() int { @@ -58,11 +58,11 @@ func redoWindows(nextW int, nextH int) { w := n.tk var tabs bool for _, child := range n.children { - if (child.WidgetType == widget.Tab) { + if child.WidgetType == widget.Tab { tabs = true } } - if (tabs) { + if tabs { // window is tabs. Don't show it as a standard button w.frame = false n.hasTabs = true |
