Update mouse wheel stuff in paginator per last-minute Bubble Tea API change

This commit is contained in:
Christian Rocha
2020-10-06 12:29:18 -04:00
parent 959598c9aa
commit cbafae84f9

View File

@@ -333,7 +333,7 @@ func Update(msg tea.Msg, m Model) (Model, tea.Cmd) {
}
case tea.MouseMsg:
switch msg.Button {
switch msg.Type {
case tea.MouseWheelUp:
lines := m.LineUp(3)
if m.HighPerformanceRendering {