aboutsummaryrefslogtreecommitdiff
path: root/go/ui/collection.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/ui/collection.go')
-rw-r--r--go/ui/collection.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/go/ui/collection.go b/go/ui/collection.go
index 20dff35e..3de52e11 100644
--- a/go/ui/collection.go
+++ b/go/ui/collection.go
@@ -97,7 +97,6 @@ func (c *Collection) Contains(x, y int) bool {
}
func (c *Collection) FindWidgetAt(x, y int) Widget {
-
// Iterate the widget in reverse order to ensure that upper widgets are
// considered first
for i := len(c.widgets) - 1; i >= 0; i-- {
@@ -111,7 +110,6 @@ func (c *Collection) FindWidgetAt(x, y int) Widget {
}
func (c *Collection) FindObjectAt(x, y int) any {
-
// Iterate the widget in reverse order to ensure that upper widgets are
// considered first
for i := len(c.widgets) - 1; i >= 0; i-- {
@@ -128,7 +126,6 @@ func (c *Collection) switchFocus(fcsbl Widget) {
log.Printf("switch focus from %v to %v\n", c.focused, fcsbl)
if c.focused != nil {
c.focused.Focus(false)
-
}
if fcsbl != nil {
fcsbl.Focus(true)