From a0baba0821441d9cf38f0b33fe12fb96925c6236 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 17 Jan 2024 23:39:03 -0600 Subject: new paths Signed-off-by: Jeff Carr --- gocui/tab.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gocui/tab.go') 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 -- cgit v1.2.3