diff --git a/CHANGELOG.md b/CHANGELOG.md index 976a5fc8..2e57eaa7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,17 @@ # Changelog -## 0.39.2 +## 0.39.3 - bug fixes - broken tabs color property - broken `/TABS` command; this command doesn't makes panels send osc messages anymore +## 0.39.2 + +- bug fixes + - regresssion: broken --theme option + - regression: missing 'edit parent' action in editor's context menu + ## 0.39.1 - bug fixes diff --git a/scripts/copy-assets.js b/scripts/copy-assets.js index 27267bf3..75b8bbde 100644 --- a/scripts/copy-assets.js +++ b/scripts/copy-assets.js @@ -37,4 +37,8 @@ appJson.scripts = { "start-node": "node index.js" } +appJson.optionalDependencies = { + electron: packageJson.optionalDependencies.electron +} + fs.writeFileSync(path.resolve(__dirname + '/../app/package.json'), JSON.stringify(appJson, null, ' ')) diff --git a/src/client/app/editor/context-menu.js b/src/client/app/editor/context-menu.js index 4966764d..7264ea96 100644 --- a/src/client/app/editor/context-menu.js +++ b/src/client/app/editor/context-menu.js @@ -189,9 +189,12 @@ var handleClick = function(event) { var clickX = Math.round((eventData.offsetX + eventData.target.scrollLeft) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH, clickY = Math.round((eventData.offsetY + eventData.target.scrollTop) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH - actions[icon('expand') + ' ' + locales('editor_editparent')] = ()=>{ - editor.select(parent) - } + actions.push({ + label: icon('expand') + ' ' + locales('editor_editparent'), + action: ()=>{ + editor.select(parent) + } + }) if (type === 'widget') { diff --git a/src/server/theme.js b/src/server/theme.js index 0115045f..e325b052 100644 --- a/src/server/theme.js +++ b/src/server/theme.js @@ -24,8 +24,8 @@ class Theme { if (theme.includes('.css') && fs.existsSync(theme)) { this.files.push(theme) - } else if (!theme.includes('.css') && fs.existsSync(path.resolve(__dirname + '/../browser/themes/' + theme + '.css'))) { - this.files.push(path.resolve(__dirname + '/../browser/themes/' + theme + '.css')) + } else if (!theme.includes('.css') && fs.existsSync(path.resolve(__dirname + '/../assets/themes/' + theme + '.css'))) { + this.files.push(path.resolve(__dirname + '/../assets/themes/' + theme + '.css')) } else { console.error('Theme error: "' + theme + '" not found.') }