diff options
Diffstat (limited to 'lib/ui')
-rw-r--r-- | lib/ui/grid.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/ui/grid.go b/lib/ui/grid.go index 1eac2ee8..04a6dc42 100644 --- a/lib/ui/grid.go +++ b/lib/ui/grid.go @@ -94,17 +94,6 @@ func (grid *Grid) Columns(spec []GridSpec) *Grid { return grid } -func (grid *Grid) Children() []Drawable { - grid.mutex.RLock() - defer grid.mutex.RUnlock() - - children := make([]Drawable, len(grid.cells)) - for i, cell := range grid.cells { - children[i] = cell.Content - } - return children -} - func (grid *Grid) Draw(ctx *Context) { invalid := grid.invalid if invalid { |