Commit f8fd1832 authored by Matthias Möller's avatar Matthias Möller

Funktionsfähig

parent 89b38494
......@@ -28,8 +28,8 @@ export default Ember.Service.extend({
let data = event.data;
data = JSON.parse(data);
let mentalCommand = data["mentalCommand"];
console.log(mentalCommand);
let mentalCommand = data[mentalCommand];
//MentalCommand is a push
if(mentalCommand === 2){
this.triggerZoom(-0.5);
......
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