diff options
| author | Jeff Carr <[email protected]> | 2021-10-05 10:37:53 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-05 10:37:53 -0500 |
| commit | ff2d50354b7846c11227752d555e86f14bf3fc47 (patch) | |
| tree | 9f09c1ca660f8942de5584a1508b1e8fa1688a10 /button.go | |
| parent | 7ba7b97fa9d385e18c1f9636553db254f14383d0 (diff) | |
DEBUG: add DumpMap()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'button.go')
| -rw-r--r-- | button.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -68,7 +68,7 @@ func CreateButton(box *GuiBox, custom func(*GuiButton), name string, values inte Data.AllButtons = append(Data.AllButtons, newB) - box.UiBox.Append(newB.B, false) + box.Append(newB.B, false) return newB } @@ -110,6 +110,6 @@ func CreateColorButton(box *GuiBox, custom func(*GuiButton), name string, values Data.MouseClick(&newCB) } }) - box.UiBox.Append(newCB.CB, false) + box.Append(newCB.CB, false) return &newCB } |
