소스 검색

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



불러오는 중...
취소
저장