Missed some reverts.

This commit is contained in:
armored-dragon 2024-08-27 16:13:12 -05:00
parent 1ab2a7e1e3
commit 7fc7f5e617
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B

View file

@ -2130,7 +2130,7 @@
if (isActive) {
cameraManager.keyPressEvent(event);
}
// Hacks to get the menu bar buttons to work
// Copy
if (event.key === 67 && event.isControl && !event.isShifted) {
@ -2158,12 +2158,12 @@
Controller.keyPressEvent.connect(keyPressEvent);
function deleteKey(value) {
if (value === 0) { // on press
if (value === 0) { // on release
createApp.deleteSelectedEntities();
}
}
function copyKey(value){
if (value === 1) { // on press
if (value === 0) { // on release
createApp.deleteSelectedEntities();
}
}