Disable editentities auto-off when moving avatar

This commit is contained in:
Ryan Huffman 2015-01-28 12:16:28 -08:00
parent 347c74ebae
commit e1ca6d5048

View file

@ -820,9 +820,8 @@ function handeMenuEvent(menuItem) {
Menu.menuItemEvent.connect(handeMenuEvent);
Controller.keyPressEvent.connect(function(event) {
if (event.text == 'w' || event.text == 'a' || event.text == 's' || event.text == 'd'
|| event.text == 'UP' || event.text == 'DOWN' || event.text == 'LEFT' || event.text == 'RIGHT') {
toolBar.setActive(false);
if (isActive) {
cameraManager.keyPressEvent(event);
}
});