Quick hide-flyout bug fix
This commit is contained in:
1 file changed
+1
-2
@@ -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") {
|
||||
|
||||
Reference in new issue
Block a user