mirror of
https://github.com/IllusionMan1212/ffui.git
synced 2026-10-24 02:12:35 +00:00
fix: update the estimate every frame?
This commit is contained in:
@@ -189,8 +189,6 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||||||
return m, tea.Batch(singleProgressCmd, totalProgressCmd)
|
return m, tea.Batch(singleProgressCmd, totalProgressCmd)
|
||||||
case updateEstimate:
|
case updateEstimate:
|
||||||
m.Estimate = msg.estimate
|
m.Estimate = msg.estimate
|
||||||
|
|
||||||
return m, tea.Batch()
|
|
||||||
case quitMsg:
|
case quitMsg:
|
||||||
m.Quitting = true
|
m.Quitting = true
|
||||||
return m, tea.Quit
|
return m, tea.Quit
|
||||||
|
|||||||
Reference in New Issue
Block a user