diff options
| author | Jeff Carr <[email protected]> | 2024-01-06 13:53:15 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-06 13:53:15 -0600 |
| commit | b3dfc689abe6699112518ddaf5e12aa87ef931f8 (patch) | |
| tree | 2f5e14ac484ac45e52e58a57dd95f904a0d38094 /label.go | |
| parent | d075b29aff66e784a615a0a3e436ae7433556789 (diff) | |
sierpinski carpet mode
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'label.go')
| -rw-r--r-- | label.go | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -6,9 +6,10 @@ import ( func (parent *Node) NewLabel(text string) *Node { newNode := parent.newNode(text, widget.Label) - a := newAction(newNode, widget.Add) - a.Text = text - a.S = text - sendAction(a) + + if ! newNode.hidden { + a := newAction(newNode, widget.Add) + sendAction(a) + } return newNode } |
