()
| 75 | async _update() { |
| 76 | return new Promise(resolve => { |
| 77 | const onAnimationFrame = () => { |
| 78 | if (this.layerManager.needsUpdate()) { |
| 79 | this.layerManager.updateLayers(); |
| 80 | |
| 81 | this.render(); |
| 82 | resolve(); |
| 83 | return; |
| 84 | } |
| 85 | setTimeout(onAnimationFrame, 50); |
| 86 | }; |
| 87 | onAnimationFrame(); |
| 88 | }); |
| 89 | } |
nothing calls this directly
no test coverage detected