This website works better with JavaScript.
Home
Explore
Help
Sign In
chemicalcrux
/
macrovision
Watch
1
Star
0
Fork
0
Code
Issues
5
Pull Requests
0
Releases
10
Wiki
Activity
Browse Source
Disable deleting entities with backspace
This was causing things to vanish when editing numbers
tags/v0.0.4
Fen Dweller
5 years ago
parent
70515a0047
commit
be2bd3c2e4
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
macrovision.js
+ 1
- 1
macrovision.js
View 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…
Cancel
Save