Closed xuguoxing closed 9 years ago
In the incrementProgress method, two line code confuse me.
I think float maxProgress = _interactive ? NJKFinalProgressValue : NJKInteractiveProgressValue; should be float maxProgress = _interactive ? NJKInteractiveProgressValue: NJKFinalProgressValue;
and
float increment = (maxProgress - progress) * remainPercent; should be float increment = (maxProgress - progress) * (1-remainPercent);
Do I think wrong?
In the incrementProgress method, two line code confuse me.
I think float maxProgress = _interactive ? NJKFinalProgressValue : NJKInteractiveProgressValue; should be float maxProgress = _interactive ? NJKInteractiveProgressValue: NJKFinalProgressValue;
and
float increment = (maxProgress - progress) * remainPercent; should be float increment = (maxProgress - progress) * (1-remainPercent);
Do I think wrong?