From b0f076b44f4714bd7ab27b576c8c026c5c5a6dbd Mon Sep 17 00:00:00 2001 From: Seth Posner Date: Tue, 13 Dec 2022 10:58:32 -0800 Subject: [PATCH] Added passthrough style for MainDisplay --- src/data/layers/coal.tsx | 3 ++- src/data/layers/oil.tsx | 1 + src/features/resources/MainDisplay.vue | 5 +++-- src/features/resources/Resource.vue | 5 +++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/data/layers/coal.tsx b/src/data/layers/coal.tsx index 15b5e76..5632b1a 100644 --- a/src/data/layers/coal.tsx +++ b/src/data/layers/coal.tsx @@ -885,7 +885,8 @@ const layer = createLayer(id, function (this: BaseLayer) { ( <> diff --git a/src/features/resources/MainDisplay.vue b/src/features/resources/MainDisplay.vue index 111c6b6..4f19007 100644 --- a/src/features/resources/MainDisplay.vue +++ b/src/features/resources/MainDisplay.vue @@ -7,7 +7,7 @@ >
You have - + {{ resource.displayName }}
You have - + {{ resource.displayName }} ; style?: StyleValue; + resourceStyle?: StyleValue; effectDisplay?: CoercableComponent; productionDisplay?: CoercableComponent; sticky?: boolean diff --git a/src/features/resources/Resource.vue b/src/features/resources/Resource.vue index 928f2da..cc8976c 100644 --- a/src/features/resources/Resource.vue +++ b/src/features/resources/Resource.vue @@ -1,5 +1,5 @@ @@ -7,11 +7,12 @@