quiet output
This commit is contained in:
parent
37723c2b9a
commit
7e47ca9843
|
@ -12,6 +12,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
// this didn't work. panic()
|
||||||
func (tk *guiWidget) DeleteNode() {
|
func (tk *guiWidget) DeleteNode() {
|
||||||
p := tk.parent
|
p := tk.parent
|
||||||
for i, child := range p.children {
|
for i, child := range p.children {
|
||||||
|
|
|
@ -58,7 +58,7 @@ func mouseMove(g *gocui.Gui) {
|
||||||
// don't move this code out of here
|
// don't move this code out of here
|
||||||
var found bool = false
|
var found bool = false
|
||||||
if me.currentDrag != nil {
|
if me.currentDrag != nil {
|
||||||
me.currentDrag.dumpWidget(fmt.Sprintf("MM (%3d,%3d)", w, h))
|
// me.currentDrag.dumpWidget(fmt.Sprintf("MM (%3d,%3d)", w, h))
|
||||||
me.currentDrag.moveNew()
|
me.currentDrag.moveNew()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ func (tk *guiWidget) redrawWindow(w int, h int) {
|
||||||
if tk.node.WidgetType != widget.Window {
|
if tk.node.WidgetType != widget.Window {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
tk.dumpWidget(fmt.Sprintf("redrawWindow(%d,%d)", w, h))
|
// tk.dumpWidget(fmt.Sprintf("redrawWindow(%d,%d)", w, h))
|
||||||
if tk.full.Height() > 40 {
|
if tk.full.Height() > 40 {
|
||||||
tk.window.dense = true
|
tk.window.dense = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue