mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-05 12:46:14 +00:00
fix: nolint
This commit is contained in:
@@ -297,7 +297,7 @@ func ViewDown(m Model, lines []string) tea.Cmd {
|
||||
|
||||
// XXX: high performance rendering is deprecated in Bubble Tea. In a v2 we
|
||||
// won't need to return a command here.
|
||||
return tea.ScrollDown(lines, top, bottom)
|
||||
return tea.ScrollDown(lines, top, bottom) //nolint:staticcheck
|
||||
}
|
||||
|
||||
// ViewUp is a high performance command the moves the viewport down by a given
|
||||
@@ -311,7 +311,7 @@ func ViewUp(m Model, lines []string) tea.Cmd {
|
||||
|
||||
// XXX: high performance rendering is deprecated in Bubble Tea. In a v2 we
|
||||
// won't need to return a command here.
|
||||
return tea.ScrollUp(lines, top, bottom)
|
||||
return tea.ScrollUp(lines, top, bottom) //nolint:staticcheck
|
||||
}
|
||||
|
||||
// SetHorizontalStep sets the amount of cells that the viewport moves in the
|
||||
|
||||
Reference in New Issue
Block a user