editor: prevent accessing non-editable widgets with right arrow
This commit is contained in:
parent
efa92ddff0
commit
fb223eb08c
2 changed files with 10 additions and 3 deletions
|
|
@ -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')){
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue