|
|
|
@@ -5361,12 +5361,13 @@ function copyScreenshot() { |
|
|
|
new ClipboardItem({ |
|
|
|
"image/png": blob |
|
|
|
}) |
|
|
|
]).then(e => |
|
|
|
]).then(e => |
|
|
|
toast("Copied to clipboard!")) |
|
|
|
.catch(e => { |
|
|
|
toast("Couldn't write to the clipboard. Make sure the screenshot completes before switching tabs.") |
|
|
|
}) |
|
|
|
}); |
|
|
|
console.error(e); |
|
|
|
toast("Couldn't write to the clipboard. Make sure the screenshot completes before switching tabs.") |
|
|
|
}) |
|
|
|
}); |
|
|
|
drawScales(false); |
|
|
|
} |
|
|
|
|
|
|
|
|