forked from Botanical/BotanJS
Rewrite the way to init VimControls
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
|
||||
var _self = this;
|
||||
|
||||
var controls = new VimControls();
|
||||
var controls = new VimControls( this );
|
||||
stage.addEventListener(
|
||||
"KeyDown"
|
||||
, KeyHandler( this, controls.handler.bind( controls ) )
|
||||
|
||||
Reference in New Issue
Block a user