diff --git a/lib/auto_scroll_text.dart b/lib/auto_scroll_text.dart index 67fd89a..0ef98a2 100644 --- a/lib/auto_scroll_text.dart +++ b/lib/auto_scroll_text.dart @@ -421,7 +421,7 @@ class _AutoScrollTextState extends State { } void _onUpdate(AutoScrollText oldWidget) { - if (widget.text != oldWidget.text && _endlessText != null) { + if (widget.text != oldWidget.text) { setState(() { _endlessText = null; _originalTextWidth = null;