mirror of
https://github.com/overte-org/overte.git
synced 2025-04-07 14:12:26 +02:00
Don't go "away" when press Esc key while inspecting
This commit is contained in:
parent
a1056f34ed
commit
31b76a0a22
1 changed files with 4 additions and 0 deletions
|
@ -203,6 +203,10 @@ function handleModes() {
|
|||
}
|
||||
|
||||
mode = newMode;
|
||||
|
||||
// Don't go "away" when press Esc key while inspecting.
|
||||
var CHANNEL_AWAY_ENABLE = "Hifi-Away-Enable";
|
||||
Messages.sendMessage(CHANNEL_AWAY_ENABLE, mode === noMode ? "enable" : "disable" , true);
|
||||
}
|
||||
|
||||
function keyPressEvent(event) {
|
||||
|
|
Loading…
Reference in a new issue