diff options
| author | Jeff Carr <[email protected]> | 2023-04-05 21:15:05 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-05 21:15:05 -0500 |
| commit | 4e69499be4bce986f5685ecbf12f662452b95c97 (patch) | |
| tree | df3ed5f76fa2e094119c36e364e7343cdf72a601 /toolkit/gocui/debug.go | |
| parent | 0c46d57acdd77965747cfc0e4ffd109332d85c89 (diff) | |
gocui: don't try to draw on add()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/debug.go')
| -rw-r--r-- | toolkit/gocui/debug.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/toolkit/gocui/debug.go b/toolkit/gocui/debug.go index 8fef722..30f1822 100644 --- a/toolkit/gocui/debug.go +++ b/toolkit/gocui/debug.go @@ -55,23 +55,6 @@ func (w *cuiWidget) showWidgetPlacement(b bool, s string) { case toolkit.Grid: s1 += fmt.Sprintf("next()=(%2d,%2d)", w.nextW, w.nextH) default: - // s1 += fmt.Sprintf("L()=(%2d,%2d,%2d,%2d)", - // w.logicalSize.w0, w.logicalSize.h0, w.logicalSize.w1, w.logicalSize.h1) } log(b, s1, s, w.widgetType, ",", w.name) // , "text=", w.text) - - /* - if (w.realWidth != (w.gocuiSize.w1 - w.gocuiSize.w0)) { - log(b, "dump()", s, - "badsize()=(", w.realWidth, ",", w.realHeight, ")", - "badreal()=(", w.gocuiSize.w0, ",", w.gocuiSize.h0, ",", w.gocuiSize.w1, ",", w.gocuiSize.h1, ")", - w.widgetType, ",", w.name) - } - if (w.realHeight != (w.gocuiSize.h1 - w.gocuiSize.h0)) { - log(b, "dump()", s, - "badsize()=(", w.realWidth, ",", w.realHeight, ")", - "badreal()=(", w.gocuiSize.w0, ",", w.gocuiSize.h0, ",", w.gocuiSize.w1, ",", w.gocuiSize.h1, ")", - w.widgetType, ",", w.name) - } - */ } |
