mirror of
https://github.com/konvajs/konva.git
synced 2025-10-08 00:14:23 +08:00
fix rest length calculation
This commit is contained in:
@@ -135,7 +135,7 @@
|
||||
return null;
|
||||
}
|
||||
|
||||
while (length > this.dataArray[i].pathLength && i < ii) {
|
||||
while (i < ii && length > this.dataArray[i].pathLength) {
|
||||
length -= this.dataArray[i].pathLength;
|
||||
++i;
|
||||
}
|
||||
|
Reference in New Issue
Block a user