mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 12:28:02 +02:00
Revert of hotkey detection, removed menu hotkeys
- Holding hotkeys will no longer spam parent events rapidly, detects only the release
This commit is contained in:
parent
0df6305f90
commit
f3c806e910
1 changed files with 1 additions and 1 deletions
|
@ -1372,7 +1372,7 @@ var keyReleaseEvent = function (event) {
|
||||||
});
|
});
|
||||||
grid.setPosition(newPosition);
|
grid.setPosition(newPosition);
|
||||||
}
|
}
|
||||||
} else if (event.text === 'p' && event.isControl && !event.isAutoRepeat ) {
|
} else if (event.key === 80 && event.isControl && !event.isAutoRepeat ) {
|
||||||
if (event.isShifted) {
|
if (event.isShifted) {
|
||||||
unparentSelectedEntities();
|
unparentSelectedEntities();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue