소스 검색

Draw the ground when taking screenshots

master
Fen Dweller 5 년 전
부모
커밋
493ac082a2
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. +5
    -0
      macrovision.js

+ 5
- 0
macrovision.js 파일 보기

@@ -3432,6 +3432,11 @@ function generateScreenshot(callback) {
ctx.fillStyle = "#555";
ctx.font = "normal normal lighter 16pt coda";
ctx.fillText("macrovision.crux.sexy", 10, 25);

if (checkBodyClass("toggle-bottom-cover")) {
ctx.fillStyle = "#000";
ctx.fillRect(0, pos2pix({x: 0, y: 0}).y, canvasWidth + 100, canvasHeight);
}
exportCanvas(blob => {
callback(blob);


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