charmbracelet / bubbles

TUI components for Bubble Tea 🫧
MIT License
5.24k stars 247 forks source link

fix: progress spring defaults should't override WithStringOptions #540

Closed nervo closed 2 months ago

nervo commented 2 months ago

In progress component constructor, default spring option must be handled after applying options :)

Indeed, the springCustomized variable is set by the option WithSpringOptions.

meowgorithm commented 2 months ago

Good catch. Thanks @nervo!