mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 22:28:37 +02:00
Missed some reverts.
This commit is contained in:
parent
1ab2a7e1e3
commit
7fc7f5e617
1 changed files with 3 additions and 3 deletions
|
@ -2130,7 +2130,7 @@
|
||||||
if (isActive) {
|
if (isActive) {
|
||||||
cameraManager.keyPressEvent(event);
|
cameraManager.keyPressEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hacks to get the menu bar buttons to work
|
// Hacks to get the menu bar buttons to work
|
||||||
// Copy
|
// Copy
|
||||||
if (event.key === 67 && event.isControl && !event.isShifted) {
|
if (event.key === 67 && event.isControl && !event.isShifted) {
|
||||||
|
@ -2158,12 +2158,12 @@
|
||||||
Controller.keyPressEvent.connect(keyPressEvent);
|
Controller.keyPressEvent.connect(keyPressEvent);
|
||||||
|
|
||||||
function deleteKey(value) {
|
function deleteKey(value) {
|
||||||
if (value === 0) { // on press
|
if (value === 0) { // on release
|
||||||
createApp.deleteSelectedEntities();
|
createApp.deleteSelectedEntities();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function copyKey(value){
|
function copyKey(value){
|
||||||
if (value === 1) { // on press
|
if (value === 0) { // on release
|
||||||
createApp.deleteSelectedEntities();
|
createApp.deleteSelectedEntities();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue