editor: regression breaking widget context menu actions under "Position" submenu

This commit is contained in:
jean-emmanuel 2023-04-22 17:10:38 +02:00
parent 640e30f766
commit e7dfa453e4
2 changed files with 9 additions and 4 deletions

View file

@ -1,5 +1,10 @@
# Changelog
## 1.24.2
- bug fixes
- editor: regression breaking widget context menu actions under "Position" submenu
## 1.24.1
- bug fixes

View file

@ -202,28 +202,28 @@ var handleClick = function(event) {
{
label: locales('editor_back'),
action: ()=>{
editor.handleKeyboard('home')
editor.handleKeydown('home')
},
shortcut: 'Home'
},
{
label: locales('editor_farther'),
action: ()=>{
editor.handleKeyboard('pageup')
editor.handleKeydown('pageup')
},
shortcut: 'Page Up'
},
{
label: locales('editor_closer'),
action: ()=>{
editor.handleKeyboard('pagedown')
editor.handleKeydown('pagedown')
},
shortcut: 'Page Down'
},
{
label: locales('editor_front'),
action: ()=>{
editor.handleKeyboard('end')
editor.handleKeydown('end')
},
shortcut: 'End'
}