diff --git a/CHANGELOG.md b/CHANGELOG.md index cdbd9e72..1b1f9d59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - widgets: circular value feedback issues + - editor: `ctrl + e` not working when hitm multiple times without releasing `ctrl` - misc - add linux rpm packages diff --git a/src/client/ui/context-menu.js b/src/client/ui/context-menu.js index fc96bd56..0ff808e9 100644 --- a/src/client/ui/context-menu.js +++ b/src/client/ui/context-menu.js @@ -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={}){