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
Got this error on a particular path, apparently no different from fully functional paths in the same project. It broke the script and hindered the animation from running. The error pointed to line 540.
Solved it by adding if (typeof position !== 'undefined') on line 539, making it:
I found there was a empty path point in my svg file (so the script couldn't find a starting and end point to do calculations with). Removed it and it worked again. So my fix is basically useless. But I'll leave this here in case others get the same error, and wont have to go through the same process as me.
Got this error on a particular path, apparently no different from fully functional paths in the same project. It broke the script and hindered the animation from running. The error pointed to line 540.
Solved it by adding
if (typeof position !== 'undefined')
on line 539, making it:The shape now animates perfectly, not missing any paths.
The text was updated successfully, but these errors were encountered: