mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Added comments to save project functions
This commit is contained in:
parent
f9a1cfc3d3
commit
2a40c022d0
@ -1,3 +1,6 @@
|
||||
/**
|
||||
* Opens the save project window and initializes events for save project customization.
|
||||
*/
|
||||
function openSaveProjectWindow() {
|
||||
//create name
|
||||
var selectedPalette = getText('palette-button');
|
||||
@ -16,6 +19,9 @@ function openSaveProjectWindow() {
|
||||
showDialogue('save-project', false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Downloads the .lpe file for the current project.
|
||||
*/
|
||||
function saveProject() {
|
||||
var fileName = `${getValue('lpe-file-name')}.lpe`;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user