mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Revert "Fixed issue of canvas size limitations"
This reverts commit 87c05de6e787a4ea8f372385e0a69b4cc318c5d3.
This commit is contained in:
parent
87c05de6e7
commit
ebdc020f9b
@ -18,12 +18,6 @@ const Startup = (() => {
|
||||
var height = Util.getValue('size-height' + splashPostfix);
|
||||
var selectedPalette = Util.getText('palette-button' + splashPostfix);
|
||||
|
||||
//Checks whether width and height values are not invalid
|
||||
if(width <= 0 || height <= 0) {
|
||||
alert("Please enter valid width and height");
|
||||
return;
|
||||
}
|
||||
|
||||
newPixel(FileManager.defaultLPE(width,height));
|
||||
resetInput();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user