diff --git a/src/kiri/init.js b/src/kiri/init.js index c9610727..f52b55dc 100644 --- a/src/kiri/init.js +++ b/src/kiri/init.js @@ -2143,7 +2143,7 @@ $('rot_x'), selectionRotate, $('rot_y'), selectionRotate, $('rot_z'), selectionRotate - ]); + ], true); $('lab-axis').onclick = () => { UI.lockX.checked = diff --git a/src/moto/space.js b/src/moto/space.js index 5aaed5d5..e5dd7d41 100644 --- a/src/moto/space.js +++ b/src/moto/space.js @@ -229,14 +229,19 @@ } } - function onEnterKey(el, fn) { + function onEnterKey(el, fn, onblur) { if (Array.isArray(el)) { - for (let i=0; i