Hide decorating button once they're all decorated

This commit is contained in:
thepaperpilot 2022-12-18 16:26:47 -06:00
parent 2035ac7e03
commit bef5ce94ec

View file

@ -363,6 +363,7 @@ const layer = createLayer(id, () => {
);
})
}),
visibility: () => showIf(main.day.value === day),
canClick() {
return main.isMastery.value || Decimal.gte(wrappingPaperSum.value, masteryReq.value);
},