From 06a9a3976533bce0036e53f727ed8ac11a08f6ff Mon Sep 17 00:00:00 2001 From: Mirco Wittrien <23700969+mwittrien@users.noreply.github.com> Date: Sun, 24 Apr 2022 11:05:56 +0200 Subject: [PATCH] Update GameActivityToggle.plugin.js --- .../GameActivityToggle/GameActivityToggle.plugin.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Plugins/GameActivityToggle/GameActivityToggle.plugin.js b/Plugins/GameActivityToggle/GameActivityToggle.plugin.js index 4f52b5f5d3..30c60faaca 100644 --- a/Plugins/GameActivityToggle/GameActivityToggle.plugin.js +++ b/Plugins/GameActivityToggle/GameActivityToggle.plugin.js @@ -2,7 +2,7 @@ * @name GameActivityToggle * @author DevilBro * @authorId 278543574059057154 - * @version 1.1.1 + * @version 1.1.2 * @description Adds a Quick-Toggle Game Activity Button * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -17,13 +17,12 @@ module.exports = (_ => { "info": { "name": "GameActivityToggle", "author": "DevilBro", - "version": "1.1.1", + "version": "1.1.2", "description": "Adds a Quick-Toggle Game Activity Button" }, "changeLog": { "fixed": { - "Global Hotkey": "Now properly saves", - "Account Switcher Overflow": "Fixed Issue, where the settings button would overflow in the account details, when the account switcher experiment was enabled" + "Account Switcher Overflow": "Fixed Issue, where the settings button would overflow in the account details, when the account switcher experiment was enabled, NOW FOR REAL" } } }; @@ -116,8 +115,9 @@ module.exports = (_ => { }; this.css = ` - ${BDFDB.dotCNC.accountinfowithtagasbutton + BDFDB.dotCN.accountinfowithtagless} { - min-width: unset; + ${BDFDB.dotCNS._gameactivitytoggleadded + BDFDB.dotCNC.accountinfowithtagasbutton + BDFDB.dotCNS._gameactivitytoggleadded + BDFDB.dotCN.accountinfowithtagless} { + flex: 1; + min-width: 0; } `; } @@ -215,7 +215,6 @@ module.exports = (_ => { } activateKeybind () { - console.log(keybind); if (keybind && keybind.length) BDFDB.ListenerUtils.addGlobal(this, "GAMEACTIVITY_TOGGLE", keybind, this.toggle); else BDFDB.ListenerUtils.removeGlobal(this, "GAMEACTIVITY_TOGGLE", keybind, this.toggle); }