You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, when i try to use the generateValues in millisecond it doesn't work correctly it only fires once, i replaced the component ValueGeneratorComponent for the version 2.10.9 and works fine
void update(double dt) {
super.update(dt);
if (!_isRunning) return;
_currentValue += dt * _maxInMilliSeconds;
if (_currentValue >= duration.inMilliseconds) {
finish();
} else {
double value = curve.transform(_currentValue / duration.inMilliseconds);
double realValue = begin + (_displacement * value);
onChange?.call(realValue);
}
}
The text was updated successfully, but these errors were encountered:
hi, when i try to use the generateValues in millisecond it doesn't work correctly it only fires once, i replaced the component ValueGeneratorComponent for the version 2.10.9 and works fine
The text was updated successfully, but these errors were encountered: