in src/components/viewer.js [141:148]
displayNextImage() {
if (this.readyImages.length > 0) {
const image = this.readyImages.shift();
cornerstone.displayImage(this.canvasElement, image);
} else {
this.newSequence = true;
}
}