forked from ScoDoc/ScoDoc
améliore editeur coef (enter)
This commit is contained in:
parent
459e75db89
commit
1488689bfb
@ -80,7 +80,7 @@ function modifCell(obj) {
|
||||
|
||||
function key(event) {
|
||||
switch (event.key) {
|
||||
case "Enter": modifCell(document.querySelector(".selected")); event.preventDefault(); ArrowMove(1, 0); break;
|
||||
case "Enter": modifCell(document.querySelector(".selected")); event.preventDefault(); break;
|
||||
case "ArrowRight": ArrowMove(1, 0); break;
|
||||
case "ArrowLeft": ArrowMove(-1, 0); break;
|
||||
case "ArrowUp": ArrowMove(0, -1); break;
|
||||
@ -110,6 +110,7 @@ function keyCell(event) {
|
||||
}
|
||||
this.classList.remove("modifying");
|
||||
ArrowMove(0, 1);
|
||||
modifCell(document.querySelector(".selected"));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -64,6 +64,7 @@
|
||||
//}, 1000);
|
||||
}
|
||||
);
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user