diff options
| author | bobzel <zzzman@gmail.com> | 2024-10-16 17:31:18 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-10-16 17:31:18 -0400 |
| commit | 166f6e9d1f15826b9f41c22288291798f16003c6 (patch) | |
| tree | 842c03323e185b95f57c90d5ab1da300ad17ba03 /src/client/views/collections/CollectionCarouselView.tsx | |
| parent | 87d2d1d0305683a07166e44cfbcabfc94ff2069b (diff) | |
| parent | 9779182e74e427d3a8a2004d0efd01fac8387d55 (diff) | |
Merge branch 'master' into alyssa-starter
Diffstat (limited to 'src/client/views/collections/CollectionCarouselView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionCarouselView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionCarouselView.tsx b/src/client/views/collections/CollectionCarouselView.tsx index ff587b199..1f2bc908f 100644 --- a/src/client/views/collections/CollectionCarouselView.tsx +++ b/src/client/views/collections/CollectionCarouselView.tsx @@ -203,7 +203,7 @@ export class CollectionCarouselView extends CollectionSubView() { isContentActive: this.isChildContentActive, ScreenToLocalTransform: this.contentScreenToLocalXf, }); - answered = () => this.advance(); + answered = (correct: boolean) => (!correct || !this.curDoc() || NumCast(this.layoutDoc._carousel_index) === this.carouselItems.length - 1) && this.advance(); render() { return ( |
