editor: ctrl + e not working when hitm multiple times without releasing ctrl

This commit is contained in:
jean-emmanuel 2023-04-05 19:52:42 +02:00
parent 4b4c9f0c5b
commit 3d36f3e4d7
2 changed files with 5 additions and 0 deletions

View file

@ -6,6 +6,10 @@ var html = require('nanohtml'),
MENU_CONTAINER
// monkey patch keyboardJS to prevent loosing track of pressed keys while
// switching contexts. Works as long as we don't call reset() or pause()
keyboardJS.releaseAllKeys = ()=>{}
class ContextMenu extends UiWidget {
constructor(options={}){