editor: prevent accessing non-editable widgets with right arrow

This commit is contained in:
jean-emmanuel 2022-02-11 08:24:24 +01:00
parent efa92ddff0
commit fb223eb08c
2 changed files with 10 additions and 3 deletions

View file

@ -384,7 +384,9 @@ class Editor {
} else if (e.key === 'ArrowRight') {
toSelect = curWidget.children[0]
if (!curWidget.children[0]._not_editable) {
toSelect = curWidget.children[0]
}
} else if((e.key == 'ArrowUp') || (e.key == 'ArrowDown')){