ソースを参照

Log a console error when a screenshot fails

master
Fen Dweller 4年前
コミット
ee1bddd8c9
1個のファイルの変更5行の追加4行の削除
  1. +5
    -4
      macrovision.js

+ 5
- 4
macrovision.js ファイルの表示

@@ -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);
}



読み込み中…
キャンセル
保存