mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Implement loading a palette from the menu.
This commit is contained in:
committed by
Théo Cavignac
parent
c08c7f2d0b
commit
a36281935b
@@ -46,6 +46,9 @@ const TopMenuModule = (() => {
|
||||
case 'Import':
|
||||
Events.on('click', currSubmenuButton, FileManager.openImportImageWindow);
|
||||
break;
|
||||
case 'Load palette':
|
||||
Events.on('click', currSubmenuButton, FileManager.openImportPaletteWindow);
|
||||
break;
|
||||
case 'Export':
|
||||
Events.on('click', currSubmenuButton, FileManager.openPixelExportWindow);
|
||||
break;
|
||||
@@ -139,4 +142,4 @@ const TopMenuModule = (() => {
|
||||
addInfoElement,
|
||||
resetInfos
|
||||
}
|
||||
})();
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user