mol_plot_all 1.2.151 → 1.2.152

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/web.js CHANGED
@@ -522,10 +522,16 @@ var $;
522
522
  static get promise() {
523
523
  if (this._promise)
524
524
  return this._promise;
525
- return this._promise = new Promise(done => requestAnimationFrame(() => {
526
- this._promise = null;
527
- done();
528
- }));
525
+ return this._promise = new Promise(done => {
526
+ requestAnimationFrame(() => {
527
+ this._promise = null;
528
+ done();
529
+ });
530
+ setTimeout(() => {
531
+ this._promise = null;
532
+ done();
533
+ }, 100);
534
+ });
529
535
  }
530
536
  cancelled = false;
531
537
  promise;