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
In the current version of the README, the last option is documented as having a default of true:
Property
Type
Default
Description
last
boolean
true
Whether the stroke is complete.
However, in the code - getStrokeOutlinePoints and getStrokePoints - the actual default of the last option (assigned to the isComplete variable) is set to false.
I'm not sure what the intention is here, but to preserve the behaviour of the library it might be best to leave the default as false and update the documentation to match.
The text was updated successfully, but these errors were encountered:
In the current version of the README, the
last
option is documented as having a default oftrue
:last
However, in the code -
getStrokeOutlinePoints
andgetStrokePoints
- the actual default of thelast
option (assigned to theisComplete
variable) is set tofalse
.I'm not sure what the intention is here, but to preserve the behaviour of the library it might be best to leave the default as
false
and update the documentation to match.The text was updated successfully, but these errors were encountered: