diff --git a/navigator/src/epub/fxl/FXLFramePoolManager.ts b/navigator/src/epub/fxl/FXLFramePoolManager.ts index 61fb4f4..90f17a2 100644 --- a/navigator/src/epub/fxl/FXLFramePoolManager.ts +++ b/navigator/src/epub/fxl/FXLFramePoolManager.ts @@ -597,9 +597,9 @@ export default class FramePoolManager { } const spread = this.spreader.currentSpread(this.currentSlide, this.perPage); return spread.length > 1 ? [ - spread[0].properties?.otherProperties["number"], - spread[spread.length-1].properties?.otherProperties["number"] - ] : spread[0].properties?.otherProperties["number"]; + spread[0].properties?.otherProperties["number"] as number, + spread[spread.length-1].properties?.otherProperties["number"] as number + ] : [spread[0].properties?.otherProperties["number"] as number]; } deselect() {