Fix decoration toggle color

This commit is contained in:
thepaperpilot 2022-12-18 15:05:49 -06:00
parent ad0c1434e0
commit b18acbdcd2

View file

@ -16,7 +16,6 @@ import { render, renderRow } from "util/vue";
import { computed, Ref, unref, watchEffect } from "vue"; import { computed, Ref, unref, watchEffect } from "vue";
import { main } from "../projEntry"; import { main } from "../projEntry";
import { default as dyes, type enumColor } from "./dyes"; import { default as dyes, type enumColor } from "./dyes";
import metal from "./metal";
const id = "wrappingPaper"; const id = "wrappingPaper";
const day = 15; const day = 15;
@ -51,7 +50,7 @@ interface WrappingPaperOptions {
const layer = createLayer(id, () => { const layer = createLayer(id, () => {
const name = "Wrapping Paper"; const name = "Wrapping Paper";
const color = "gold"; // todo: change const color = "gold";
const createWrappingPaper = (options: WrappingPaperOptions & Partial<BuyableOptions>) => { const createWrappingPaper = (options: WrappingPaperOptions & Partial<BuyableOptions>) => {
const getCost: Computable< const getCost: Computable<
@ -409,6 +408,7 @@ const layer = createLayer(id, () => {
return { return {
name, name,
day, day,
color,
display: jsx(() => { display: jsx(() => {
return ( return (
<div style="width: 620px"> <div style="width: 620px">