We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8ea046 commit 09d6958Copy full SHA for 09d6958
src/main/backend/services/dispatchService.ts
@@ -32,17 +32,10 @@ export class DispatchService {
32
public registerHandlers(socket: socketIo.Socket): void {
33
socket.on('messageService-broadcast', async (msg: any, callback) => {
34
const { event, data } = msg;
35
- if (event === 'mouse_move') {
36
- const change = await this.configController.moveMouseHandler();
37
- if (change) {
38
- this.receiveBroadcast({
39
- event: 'has_paused',
40
- data: {},
41
- });
42
- }
43
- } else if (event === 'key_esc') {
+ if (event === 'key_esc') {
44
const change = await this.configController.escKeyDowHandler();
45
if (change) {
+ this.syncConfig();
46
this.receiveBroadcast({
47
event: 'has_paused',
48
data: {},
0 commit comments