Skip to content

Commit c6de17f

Browse files
authored
Merge branch 'main' into ghworkflow/package_lock_auto_update
2 parents b3bf346 + 32d006f commit c6de17f

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
registries: '*'
8+
ignore:
9+
# update-package-lock workflow already handles minor/patch updates
10+
- dependency-name: "*"
11+
update-types: ["version-update:semver-minor", "version-update:semver-patch"]

src/worker.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ Worker.prototype.toContainer = function toContainer() {
122122
this.prop.container.appendChild(source);
123123
this.prop.overlay.appendChild(this.prop.container);
124124
document.body.appendChild(this.prop.overlay);
125+
126+
// Delay to better ensure content is fully cloned and rendering before capturing.
127+
return new Promise(resolve => setTimeout(resolve, 10));
125128
});
126129
};
127130

0 commit comments

Comments
 (0)