From fb71b52fa3dc23380d9b168ac40aa7a00f2fe0c9 Mon Sep 17 00:00:00 2001 From: Mike Wilkerson <11575183+mlwilkerson@users.noreply.github.com> Date: Sat, 12 Dec 2020 08:39:31 -0800 Subject: fix for arc flags parsing --- src/utils/pathParser.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3