diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-11-08 22:19:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-08 22:19:54 -0500 |
commit | 8edb478d0adbc7c09e827f1606f9e7a6660dec65 (patch) | |
tree | d7776da1117456d94b2ef8861150637eca60143d /ext/fg/js/frontend.js | |
parent | 681065e5549e3f6bf54e416120884481bded5b6e (diff) |
Update keyboard/mouse modifiers to return an array rather than a set (#1015)
Diffstat (limited to 'ext/fg/js/frontend.js')
-rw-r--r-- | ext/fg/js/frontend.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js index af1a6527..0ed842f5 100644 --- a/ext/fg/js/frontend.js +++ b/ext/fg/js/frontend.js @@ -250,6 +250,7 @@ class Frontend { } async _onActiveModifiersChanged({modifiers}) { + modifiers = new Set(modifiers); if (areSetsEqual(modifiers, this._activeModifiers)) { return; } this._activeModifiers = modifiers; if (this._popup !== null && await this._popup.isVisible()) { |