feat(table): remove redundant SetFocused function

This commit is contained in:
bashbunni
2025-04-04 10:08:40 -07:00
parent 1360eaf0d3
commit 46da4a87cb
-6
View File
@@ -348,12 +348,6 @@ func (m *Model) SetWidth(w int) *Model {
return m
}
// SetFocused sets the focus state of the table.
func (m *Model) SetFocused(f bool) *Model {
m.focus = f
return m
}
// SetYOffset sets the YOffset position in the table.
func (m *Model) SetYOffset(n int) *Model {
m.yOffset = clamp(n, 0, len(m.rows)-1)