mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Typescript - Fix esc to full screen
This commit is contained in:
parent
05bedadc77
commit
767ef15f9f
@ -277,6 +277,12 @@ const updateOnlineStatus = (): void => {
|
||||
// Handle key down events
|
||||
const throttledKeyDown = throttle( (event) => {
|
||||
isAltKey = event.keyCode === KeyCodes.Alt;
|
||||
if (event.keyCode === KeyCodes.Esc) {
|
||||
local.ipcRenderer.send(apiName.symphonyApi, {
|
||||
cmd: apiCmds.keyPress,
|
||||
keyCode: event.keyCode,
|
||||
});
|
||||
}
|
||||
}, 500);
|
||||
|
||||
// Handle key up events
|
||||
|
Loading…
Reference in New Issue
Block a user