Skip to content

Commit

Permalink
fix play button inconsistency bug
Browse files Browse the repository at this point in the history
  • Loading branch information
eimrek committed Dec 3, 2024
1 parent e87a953 commit deb3433
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/CellView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@ const CellView = ({
];

if (q == 0 && e == 0) {
// pause the animation at start as it can be quite demanding
// pause the animation at start as it can be demanding
weas.avr.pause();
}
setIsPlaying(weas.avr.isPlaying);
weas.avr.frameDuration = 15 / speed;
weas.avr.tjs.updateCameraAndControls({ direction: cameraDirection });
weas.avr.showCell = showCell;
Expand Down

0 comments on commit deb3433

Please sign in to comment.