also get alignment to work from player UI

This commit is contained in:
Tamius Han 2022-05-24 23:48:26 +02:00
parent 9e9fdfe37f
commit c1b14979a2

View File

@ -78,8 +78,7 @@ export default {
},
methods: {
align(alignmentX, alignmentY) {
console.warn('sending set alignment:', {x: alignmentX, y: alignmentY});
// this.eventBus.send('set-alignment', {x: alignmentX, y: alignmentY})
this.eventBus?.sendToTunnel('set-alignment', {x: alignmentX, y: alignmentY})
}
}
}