From 8edb478d0adbc7c09e827f1606f9e7a6660dec65 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 8 Nov 2020 22:19:54 -0500 Subject: Update keyboard/mouse modifiers to return an array rather than a set (#1015) --- ext/fg/js/frontend.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/fg/js') 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()) { -- cgit v1.2.3