MCPcopy Create free account
hub / github.com/JKPotato-Computer/SignMaker / getFile

Function getFile

js/main.js:1087–1099  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1085 }
1086
1087 function getFile() {
1088 var screenshotTarget;
1089 var postClass;
1090
1091 if (fileInfo.panel == -1) {
1092 screenshotTarget = document.querySelector("#postContainer");
1093 } else {
1094 screenshotTarget = document.getElementById("panel" + fileInfo.panel.toString());
1095 }
1096
1097
1098 return screenshotTarget;
1099 }
1100
1101 const saveToPng = async function(file,isPreview,isSVG) {
1102 let scaleMultiplier = 5;

Callers 2

downloadSignFunction · 0.85
updatePreviewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected