refactor: pointerMove
This commit is contained in:
parent
bc725229e5
commit
fe9f6e4d48
|
@ -77,6 +77,10 @@ export default () => class Controllable extends decorate(Trait) {
|
|||
|
||||
listenForInput: (inputNormalizer) => {
|
||||
this.$$actionRegistry.listen(inputNormalizer);
|
||||
// @todo leak
|
||||
inputNormalizer.on('pointerMove', (event) => {
|
||||
this.entity.emit('pointerMove', event);
|
||||
});
|
||||
},
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user