Skip to content

Commit

Permalink
Adjust spinner thresholds and timing so stashing feels snappier
Browse files Browse the repository at this point in the history
  • Loading branch information
meowgorithm committed Dec 24, 2020
1 parent 8d7b614 commit 53155f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/stash.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ func newStashModel(common *commonModel) stashModel {
sp := spinner.NewModel()
sp.Spinner = spinner.Line
sp.ForegroundColor = lib.SpinnerColor.String()
sp.HideFor = time.Millisecond * 50
sp.MinimumLifetime = time.Millisecond * 250
sp.HideFor = time.Millisecond * 100
sp.MinimumLifetime = time.Millisecond * 180
sp.Start()

ni := textinput.NewModel()
Expand Down

0 comments on commit 53155f1

Please sign in to comment.