You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the comments in this function it's supposed to return a minimum 2x2 square:
// Size returns the content size, based on the model.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.ifw>2 {
w=2
}
ifh>2 {
h=2
}
returnw, h
}
However the comparison operators are incorrect, so it's actually returning a maximum 2x2 square