diff options
Diffstat (limited to 'newctrl/grid.go')
| -rw-r--r-- | newctrl/grid.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/newctrl/grid.go b/newctrl/grid.go index 0400ec0..f8fd616 100644 --- a/newctrl/grid.go +++ b/newctrl/grid.go @@ -364,7 +364,6 @@ func (g *grid) resize(x int, y int, width int, height int, d *sizing) { // 8) and FINALLY we draw for _, ycol := range gg { - current = nil for _, i := range ycol { if i != -1 { // treat empty cells like spaces g.controls[i].control.resize( @@ -374,7 +373,7 @@ func (g *grid) resize(x int, y int, width int, height int, d *sizing) { } } - return allocations + return } func (g *grid) preferredSize(d *sizing) (width, height int) { |
