Implement loading a palette from the menu.

This commit is contained in:
Theo Cavignac
2022-12-27 18:18:38 +01:00
committed by Théo Cavignac
parent c08c7f2d0b
commit a36281935b
4 changed files with 31 additions and 12 deletions

View File

@@ -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
}
})();
})();