Skip to content
Snippets Groups Projects
Commit 5798f20c authored by Alexander Rose's avatar Alexander Rose
Browse files

lint fix

parent f2e26f91
No related branches found
No related tags found
No related merge requests found
...@@ -126,9 +126,9 @@ export const AnimateModelIndex = PluginStateAnimation.create({ ...@@ -126,9 +126,9 @@ export const AnimateModelIndex = PluginStateAnimation.create({
if (params.mode.name === 'once' && t.current >= durationInMs) { if (params.mode.name === 'once' && t.current >= durationInMs) {
isEnd = true; isEnd = true;
return { modelIndex: traj.data.frameCount-1 }; return { modelIndex: traj.data.frameCount - 1 };
} }
let phase: number = (t.current % durationInMs) / durationInMs; let phase: number = (t.current % durationInMs) / durationInMs;
if (params.mode.name === 'loop') { if (params.mode.name === 'loop') {
if (params.mode.params.direction === 'backward') { if (params.mode.params.direction === 'backward') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment