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
{{ message }}
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
When the POPPropertyAnimation switch to unpaused state by setting isPaused property to true, the function blow in struct _POPAnimationState is triggered
void setPaused(bool f) {
if (f != paused) {
paused = f;
if (!paused) {
reset(false);
}
}
}
function virtual void reset(bool all) in setPausedfucntion body will trigger a v-table dispatch to reset function of struct _POPPropertyAnimationState
When the
POPPropertyAnimation
switch to unpaused state by settingisPaused
property totrue
, the function blow in struct_POPAnimationState
is triggeredfunction
virtual void reset(bool all)
insetPaused
fucntion body will trigger a v-table dispatch toreset
function of struct_POPPropertyAnimationState
which will reset the animation progress, cause the animation restart from the origin state.
Is there any special reason to make such design? It cause my animation on layer restart when resume form the paused state.
The text was updated successfully, but these errors were encountered: