diff --git a/views/cellarea.go b/views/cellarea.go index 68ff9d6c..4d5594ba 100644 --- a/views/cellarea.go +++ b/views/cellarea.go @@ -224,10 +224,10 @@ func (a *CellView) Size() (int, int) { // We always return a minimum of two rows, and two columns. w, h := a.model.GetBounds() // Clip to a 2x2 minimum square; we can scroll within that. - if w > 2 { + if w < 2 { w = 2 } - if h > 2 { + if h < 2 { h = 2 } return w, h