mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-01-19 03:51:37 +00:00
Fix decoration toggle color
This commit is contained in:
parent
ad0c1434e0
commit
b18acbdcd2
1 changed files with 2 additions and 2 deletions
|
@ -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">
|
||||||
|
|
Loading…
Add table
Reference in a new issue