chore: merge branch 'master' into beta-update

This commit is contained in:
Christian Rocha
2024-07-17 19:42:03 -04:00
4 changed files with 142 additions and 53 deletions
+5 -3
View File
@@ -175,13 +175,15 @@ func New(ctx tea.Context, opts ...Option) Model {
ShowPercentage: true,
PercentFormat: " %3.0f%%",
}
if !m.springCustomized {
m.SetSpringOptions(defaultFrequency, defaultDamping)
}
for _, opt := range opts {
opt(&m)
}
if !m.springCustomized {
m.SetSpringOptions(defaultFrequency, defaultDamping)
}
return m
}