Comparing version 0.1.2 to 0.1.3
@@ -190,5 +190,11 @@ const $1906921049_autoFocus = (aim, set) => { | ||
for (let i = index - 1; i >= 0; i--) { | ||
if (i in parent.children) { | ||
if (parent.children[i]) { | ||
// if (i in parent.children) { | ||
set.y = parent.children[i].yEnd + 1 | ||
break | ||
} else if (i in parent.children) { | ||
console.warn('how is this possible: we need to find out') | ||
console.log('array:', JSON.stringify(parent.children)) | ||
console.log('i:', i) | ||
console.log('i in array:', i in parent.children) | ||
} | ||
@@ -195,0 +201,0 @@ } |
{ | ||
"name": "aim", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "description": "Dependency free focus manager with built-in universal key navigation.", |
20024
556