editor: missing 'edit parent' from context menu -> 0.39.2

This commit is contained in:
bordun 2018-11-01 16:10:10 +01:00
parent 26903223b6
commit 7954a97415
4 changed files with 14 additions and 4 deletions

View file

@ -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') {