Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
chemicalcrux
/
macrovision
Segui
1
Vota
0
Forka
0
Codice
Problemi
5
Pull Requests
0
Rilasci
10
Wiki
Attività
Sfoglia il codice sorgente
Disable deleting entities with backspace
This was causing things to vanish when editing numbers
tags/v0.0.4
Fen Dweller
5 anni fa
parent
70515a0047
commit
be2bd3c2e4
1 ha cambiato i file
con
1 aggiunte
e
1 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
macrovision.js
+ 1
- 1
macrovision.js
Vedi File
@@ -705,7 +705,7 @@ document.addEventListener("DOMContentLoaded", () => {
document.addEventListener("keydown", e => {
console.log(e)
if (e.key == "Delete"
|| e.key == "Backspace"
) {
if (e.key == "Delete") {
if (selected) {
removeEntity(selected);
selected = null;
Write
Preview
Loading…
Annulla
Salva