mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 05:55:10 +00:00
fix path calculate bug
This commit is contained in:
@@ -54,7 +54,10 @@ export default class SerializablePath {
|
||||
case 'V': this.lineTo(this.penX, p[i++]); break;
|
||||
|
||||
case 'Z': case 'z': this.close(); break;
|
||||
default: i--; continue;
|
||||
default:
|
||||
cmd = last;
|
||||
i--;
|
||||
continue;
|
||||
}
|
||||
|
||||
last = cmd;
|
||||
|
||||
Reference in New Issue
Block a user