Reduce WebGL page texture runtime stalls
This commit is contained in:
@@ -86,9 +86,6 @@ class BookTextureRendererModule extends BaseModule {
|
||||
this.currentSpread = spread || { left: [], right: [] };
|
||||
if (latestBlockId && Number(latestBlockId) > latestRenderedBlockId) {
|
||||
this.markPendingReveal(latestBlockId);
|
||||
const pendingSides = this.getBlockSides(latestBlockId);
|
||||
const immediateSides = ['left', 'right'].filter(side => !pendingSides.includes(side));
|
||||
if (immediateSides.length) this.drawSpread(this.currentSpread, immediateSides);
|
||||
return;
|
||||
}
|
||||
this.drawSpread(this.currentSpread);
|
||||
|
||||
Reference in New Issue
Block a user