expo added hotkeys
This commit is contained in:
@@ -1969,6 +1969,7 @@
|
||||
}
|
||||
_$body.on('map-node-opened', checkExpoPlayerPositionning);
|
||||
_randomPlayer.start();
|
||||
initKeyboard();
|
||||
}
|
||||
function checkExpoPlayerPositionning(e){
|
||||
console.log('checkExpoPlayerPositionning', e.node);
|
||||
@@ -1993,7 +1994,11 @@
|
||||
'top':e.node.y+"px",
|
||||
});
|
||||
}
|
||||
|
||||
function initKeyboard(){
|
||||
$(document).bind('keyup', 'alt+n', function(){
|
||||
_randomPlayer.next();
|
||||
});
|
||||
}
|
||||
// ___ _ _
|
||||
// / __|_ _(_)__| |
|
||||
// | (_ | '_| / _` |
|
||||
|
||||
Reference in New Issue
Block a user