Update pixelResizeTool.js
This commit is contained in:
parent
401310a764
commit
1b087ebeeb
|
|
@ -7,4 +7,6 @@ pixelResizeButton.onclick = function(pixel) {
|
||||||
resizeCanvas(canvas_height,canvas_width, parseFloat(pixelSizeNeeded), true);
|
resizeCanvas(canvas_height,canvas_width, parseFloat(pixelSizeNeeded), true);
|
||||||
};
|
};
|
||||||
pixelResizeButton.textContent = "Resize";
|
pixelResizeButton.textContent = "Resize";
|
||||||
|
window.addEventListener("load",function(){
|
||||||
document.getElementById("toolControls").appendChild(pixelResizeButton);
|
document.getElementById("toolControls").appendChild(pixelResizeButton);
|
||||||
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue