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

@ -1,11 +1,16 @@
# Changelog
## 1.15.6
## 1.14.7
- bug fixes
- editor: prevent accessing non-editable widgets with right arrow
## 1.14.6
- bug fixes
- inspector: script editor: cursor alignment issue in indented lines
- clone: prevent freeze and print an error when attempting to create a circular clone
- modal: regression on android that prevents focusing input widgets in modals
- modal: regression on android that prevents focusing input widgets in modals
## 1.14.5

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