mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 07:19:05 +02:00
Listen for click instead of release.
This commit is contained in:
parent
eb168e4e5d
commit
10dc75af5d
1 changed files with 1 additions and 1 deletions
|
@ -2140,7 +2140,7 @@
|
||||||
Controller.keyPressEvent.connect(keyPressEvent);
|
Controller.keyPressEvent.connect(keyPressEvent);
|
||||||
|
|
||||||
function deleteKey(value) {
|
function deleteKey(value) {
|
||||||
if (value === 0) { // on release
|
if (value === 1) { // on release
|
||||||
createApp.deleteSelectedEntities();
|
createApp.deleteSelectedEntities();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue