mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Use same command sequence as in switch statement.
This commit is contained in:
parent
97a29e6ada
commit
7b1f118aed
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ var PathItem = Item.extend(/** @lends PathItem# */{
|
|||
|
||||
// First split the path data into parts of command-coordinates pairs
|
||||
// Commands are any of these characters: mzlhvcsqta
|
||||
var parts = data.match(/[mzlhvcsqta][^mzlhvcsqta]*/ig),
|
||||
var parts = data.match(/[mlhvcsqtaz][^mlhvcsqtaz]*/ig),
|
||||
coords,
|
||||
relative = false,
|
||||
control,
|
||||
|
|
Loading…
Reference in a new issue