summaryrefslogtreecommitdiff
path: root/widget.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-05 03:09:41 -0600
committerJeff Carr <[email protected]>2024-02-05 03:09:41 -0600
commita907a4418a1f1d027b288b1bbd91a43b103f29f9 (patch)
tree2fca47d404d84ad831995f0172a0cf3d4e6e0afd /widget.go
parent07ddc4e44d6acacc7f253c8bd9da7f7248cafa94 (diff)
move code blocks around
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'widget.go')
-rw-r--r--widget.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget.go b/widget.go
index 0f54750..923032b 100644
--- a/widget.go
+++ b/widget.go
@@ -103,7 +103,7 @@ func (tk *guiWidget) Visible() bool {
func (w *guiWidget) Show() {
// always should the dropdown widget
- if w== me.dropdownV {
+ if w == me.dropdownV {
me.dropdownV.recreateView()
return
}
@@ -130,7 +130,7 @@ func (w *guiWidget) Show() {
// then ignore it
log.Log(NOW, "Show() widget =", w.cuiName, w.String())
log.Log(NOW, "Show() w.IsCurrent() returned", w.IsCurrent())
- if ! w.IsCurrent() {
+ if !w.IsCurrent() {
log.Log(NOW, "Show() NOT drawing", w.cuiName, w.String())
return
}