Skip to content

Commit

Permalink
chore(deps): update prettier + other deps
Browse files Browse the repository at this point in the history
  • Loading branch information
floryst committed Oct 26, 2023
1 parent d61d2e4 commit 8030459
Show file tree
Hide file tree
Showing 4 changed files with 14,030 additions and 6,007 deletions.
11 changes: 7 additions & 4 deletions Sources/Proxy/Animation/AnimationProxyManager/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@ function vtkAnimationProxyManager(publicAPI, model) {
const nextTime = model.frames[model.currentFrameIndex + 1];
clearTimeout(model.timeOut);
if (model.currentFrameIndex < model.frames.length - 1) {
model.timeOut = setTimeout(() => {
publicAPI.nextFrame();
publicAPI.play();
}, (nextTime - currentTime) * 1000);
model.timeOut = setTimeout(
() => {
publicAPI.nextFrame();
publicAPI.play();
},
(nextTime - currentTime) * 1000
);
} else {
publicAPI.invokeDonePlaying();
}
Expand Down
5 changes: 2 additions & 3 deletions Sources/Rendering/Core/ImageResliceMapper/example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,8 @@ async function update() {
}
});

const { image: itkImage } = await window.itk.readImageDICOMArrayBufferSeries(
arrayBuffers
);
const { image: itkImage } =
await window.itk.readImageDICOMArrayBufferSeries(arrayBuffers);

const vtkImage = vtkITKHelper.convertItkToVtkImage(itkImage);
setImage(vtkImage);
Expand Down
Loading

0 comments on commit 8030459

Please sign in to comment.