diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/pathParser.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils/pathParser.js b/src/utils/pathParser.js index 1ab90a3..54e22e6 100644 --- a/src/utils/pathParser.js +++ b/src/utils/pathParser.js @@ -176,8 +176,11 @@ export function pathParser (d, toAbsolute = true) { if (!isNaN(parseInt(token))) { - if (parser.number === '0' || (parser.inNumber && isArcFlag(parser))) { + if (parser.number === '0' || isArcFlag(parser)) { + parser.inNumber = true + parser.number = token finalizeNumber(parser, true) + continue } parser.inNumber = true |