1
0
mirror of https://github.com/lospec/pixel-editor.git synced 2023-08-10 21:12:51 +03:00
2020-04-15 00:10:21 +00:00

13 lines
363 B
JavaScript

//when the page is donw loading, you can get ready to start
window.onload = function(){
currentTool.updateCursor();
//if the user specified dimentions
if (specifiedDimentions)
//create a new pixel
newPixel(getValue('size-width'),getValue('size-height'),'');
else
//otherwise show the new pixel dialog
showDialogue('new-pixel', false);
};