Skip to content

Commit

Permalink
chore: remove unused YPosition field from viewport.Model
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Nov 6, 2024
1 parent fc0fa78 commit 812f74f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions viewport/viewport.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ type Model struct {
// YOffset is the vertical scroll position.
YOffset int

// YPosition is the position of the viewport in relation to the terminal
// window. It's used in high performance rendering only.
YPosition int

// Style applies a lipgloss style to the viewport. Realistically, it's most
// useful for setting borders, margins and padding.
Style lipgloss.Style
Expand Down

0 comments on commit 812f74f

Please sign in to comment.