Commit de1c44c3 authored by Rurik Bugdanov's avatar Rurik Bugdanov

merge

parent d78cc22b
...@@ -239,6 +239,12 @@ X3DOMObject.prototype.KeyEvents = function(){ ...@@ -239,6 +239,12 @@ X3DOMObject.prototype.KeyEvents = function(){
} }
},true); },true);
self.element.addEventListener('keypress',function(e){
if (e.key=="r"){
$("#reset_view").click();
}
});
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment