Quick hide-flyout bug fix

This commit is contained in:
Thomas Weber committed 2021-04-20 07:28:32 -05:00
1 parent ba8ee7ce28
commit 755680cbbc
1 file changed
+1 -2
+1 -2
View File
@@ -81,8 +81,7 @@ export default async function ({ addon, global, console }) {
while (true) {
let category = await addon.tab.waitForElement(".scratchCategoryMenuItem", {
markAsSeen: true,
condition: () => !addon.tab.redux.state.scratchGui.mode.isPlayerOnly,
reduxEvents: ["scratch-gui/mode/SET_PLAYER"],
condition: () => !addon.tab.redux.state.scratchGui.mode.isPlayerOnly
});
category.onclick = () => {
if (toggle && selectedCategory === category && toggleSetting === "category") {