From 53a4cf8490532a25d0cafccf1b261093cfb9d736 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Tue, 3 Dec 2019 17:19:14 +0100 Subject: [PATCH] Fixed web PPT hook Signed-off-by: WolverinDEV --- web/js/WebPPTListener.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/js/WebPPTListener.ts b/web/js/WebPPTListener.ts index 391cdbe0..92ec8883 100644 --- a/web/js/WebPPTListener.ts +++ b/web/js/WebPPTListener.ts @@ -82,7 +82,8 @@ namespace ppt { current_state.special[SpecialKey.WINDOWS] = false; for(const code of Object.keys(current_state)) - delete current_state[code]; + if(code !== "special") + delete current_state[code]; for(const hook of key_hooks_active) hook.callback_release();