Fix mine modifiers tab appearing before it should

This commit is contained in:
thepaperpilot 2023-05-17 19:42:29 -05:00
parent 3a05bedc1e
commit ef5b38d67b

View file

@ -738,7 +738,7 @@ export const main = createLayer("main", function (this: BaseLayer) {
glowColor(): string {
return modifierTabs.activeTab.value === this.tab ? "white" : "";
},
visibility: () => Object.keys(toolNodes.value).length > 0,
visibility: () => Object.values(toolNodes.value).filter(n => n != null).length > 0,
tab: miningTab,
miningTabCollapsed
}),