refactor: pointerMove

This commit is contained in:
cha0s 2022-05-10 16:14:02 -05:00
parent bc725229e5
commit fe9f6e4d48

View File

@ -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);
});
},
};