mirror of
https://github.com/Maks1mS/bubbles.git
synced 2025-10-09 05:57:16 +03:00
Update progress bar with public harmonica release
This commit is contained in:
@@ -183,7 +183,7 @@ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) {
|
||||
return m, nil
|
||||
}
|
||||
|
||||
m.spring.Update(&m.percent, &m.velocity, m.targetPercent)
|
||||
m.percent, m.velocity = m.spring.Update(m.percent, m.velocity, m.targetPercent)
|
||||
return m, m.nextFrame()
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user