mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-06 05:06:16 +00:00
feat(table): remove redundant SetFocused function
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user