@@ -196,13 +196,13 @@ func New(opts Settings) (a Anim) {
196196// SetLabel updates the label text and re-renders it.
197197func (a *Anim) SetLabel(newLabel string) {
198198 a.labelWidth = lipgloss.Width(newLabel)
199−
199+
200200 // Update total width
201201 a.width = a.cyclingCharWidth
202202 if newLabel != "" {
203203 a.width += labelGapWidth + a.labelWidth
204204 }
205−
205+
206206 // Re-render the label
207207 a.renderLabel(newLabel)
208208}