diff --git a/main.js b/main.js index d228c50..332ec08 100644 --- a/main.js +++ b/main.js @@ -37,7 +37,7 @@ function create_window() { const is_dark_mode = store.get("dark_mode", nativeTheme.shouldUseDarkColors); nativeTheme.themeSource = is_dark_mode ? "dark" : "light"; - //main_window.webContents.openDevTools(); + main_window.webContents.openDevTools(); } // Set the app name diff --git a/package.json b/package.json index 5fb05e7..3597de8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sprite-packer", "productName": "Sprite Packer", - "version": "1.2.0", + "version": "1.2.1", "main": "main.js", "scripts": { "start": "electron .", diff --git a/renderer.js b/renderer.js index 2912ede..5d3a2f3 100644 --- a/renderer.js +++ b/renderer.js @@ -30,21 +30,23 @@ let canvas_offset_x = 0; let canvas_offset_y = 0; const atlas_sizes = [ + { width: 16, height: 16 }, { width: 32, height: 32 }, { width: 64, height: 64 }, { width: 128, height: 64 }, { width: 128, height: 128 }, { width: 256, height: 128 }, { width: 256, height: 256 }, - { width: 512, height: 512 }, { width: 512, height: 256 }, + { width: 512, height: 512 }, + { width: 1024, height: 512 }, { width: 1024, height: 1024 }, { width: 2048, height: 1024 }, { width: 2048, height: 2048 }, { width: 4096, height: 2048 }, { width: 4096, height: 4096 }, - { width: 8192, height: 8192 }, - { width: 8192, height: 4096 } + { width: 8192, height: 4096 }, + { width: 8192, height: 8192 } ]; atlas_size_select.innerHTML = ""; // Clear existing options