editor: fix broken mod+arrowDown by mistake

This commit is contained in:
jean-emmanuel 2018-10-18 08:56:12 +02:00
parent 9c9a71ac87
commit d7be252b79

View file

@ -150,7 +150,7 @@ var Editor = class Editor {
} else if (e.key === 'ArrowDown') {
var toSelectList = [...curWidget.parent.children]
var toSelectList = [...curWidget.children]
if (toSelectList && toSelectList.length) {
toSelectList.sort((a,b) => a.container.offsetLeft>b.container.offsetLeft)