turbowrap-issue-widget 1.0.4 → 1.0.5
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/dist/issue-widget.es.js
CHANGED
|
@@ -6116,10 +6116,13 @@ class zc {
|
|
|
6116
6116
|
}
|
|
6117
6117
|
async handleScreenshotCapture() {
|
|
6118
6118
|
try {
|
|
6119
|
+
this.container.style.display = "none";
|
|
6119
6120
|
const A = await _c(this.config.screenshotMethod), t = await as(A), r = await os(t);
|
|
6120
|
-
this.state.screenshots = [t], this.state.screenshotPreviews = [r]
|
|
6121
|
+
this.state.screenshots = [t], this.state.screenshotPreviews = [r];
|
|
6121
6122
|
} catch (A) {
|
|
6122
6123
|
console.error("Screenshot capture failed:", A);
|
|
6124
|
+
} finally {
|
|
6125
|
+
this.container.style.display = "", this.update();
|
|
6123
6126
|
}
|
|
6124
6127
|
}
|
|
6125
6128
|
handleUploadClick() {
|