diff options
| author | Jeff Carr <[email protected]> | 2025-02-03 09:39:15 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-03 09:39:15 -0600 |
| commit | c91733e10da21b5774a0663122cb1428103f1a80 (patch) | |
| tree | 419107b8ee728ece1f6249c7d0a41a071249ff50 /debug.go | |
| parent | 6370d87fc238480ee8b8e9476660ea64397088b1 (diff) | |
both widgets drag
Diffstat (limited to 'debug.go')
| -rw-r--r-- | debug.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,6 +27,7 @@ func (w *guiWidget) dumpTree(s string) { func (w *guiWidget) dumpWidget(s string) { var s1 string var pId int + w.verifyRect() if w.node.Parent == nil { log.Log(INFO, "showWidgetPlacement() parent == nil", w.node.WidgetId, w.cuiName) pId = 0 @@ -40,7 +41,7 @@ func (w *guiWidget) dumpWidget(s string) { s1 += fmt.Sprintf("gocui=(%3d,%3d,%3d,%3d)", w.gocuiSize.w0, w.gocuiSize.h0, w.gocuiSize.w1, w.gocuiSize.h1) // vx0, vy0, vx1, vy1, _ := me.baseGui.ViewPosition("msg") - vx0, vy0, vx1, vy1, _ := me.baseGui.ViewPosition(w.cuiName) + vx0, vy0, vx1, vy1, _ := me.baseGui.ViewPosition(w.v.Name()) s1 += fmt.Sprintf(" real=(%3d,%3d,%3d,%3d)", vx0, vy0, vx1, vy1) } else { |
