mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
bugfixes 🐛
This commit is contained in:
parent
3e9be845aa
commit
86a8e2300a
1 changed files with 2 additions and 2 deletions
4
parse.js
4
parse.js
|
@ -194,8 +194,8 @@ const movement = (tz, l, ln, r) => (m) => {
|
||||||
if (m.ani && Array.isArray(m.ani.mSec))
|
if (m.ani && Array.isArray(m.ani.mSec))
|
||||||
for (let i = 0; i < m.ani.mSec.length; i++)
|
for (let i = 0; i < m.ani.mSec.length; i++)
|
||||||
result.frames.push({
|
result.frames.push({
|
||||||
from: l[m.ani.fLocX[i]],
|
origin: l[m.ani.fLocX[i]],
|
||||||
to: l[m.ani.tLocX[i]],
|
destination: l[m.ani.tLocX[i]],
|
||||||
t: m.ani.mSec[i]
|
t: m.ani.mSec[i]
|
||||||
})
|
})
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Add table
Reference in a new issue