From 832517d192975c9704d2b08bb8541a038f2da911 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Fri, 23 Dec 2022 23:34:49 -0600 Subject: [PATCH] Potential fix for some tab weirdness --- src/components/Game.vue | 5 ++-- src/components/Layer.vue | 55 +++++----------------------------------- src/game/layers.tsx | 32 ++++++++++++++++++++++- 3 files changed, 39 insertions(+), 53 deletions(-) diff --git a/src/components/Game.vue b/src/components/Game.vue index 9dd1e27..8fa3141 100644 --- a/src/components/Game.vue +++ b/src/components/Game.vue @@ -36,9 +36,8 @@ const layerKeys = computed(() => Object.keys(layers)); const useHeader = projInfo.useHeader; function gatherLayerProps(layer: GenericLayer) { - const { display, minimized, minWidth, name, color, minimizable, nodes, minimizedDisplay } = - layer; - return { display, minimized, minWidth, name, color, minimizable, nodes, minimizedDisplay }; + const { display, minimized, name, color, minimizable, nodes, minimizedDisplay } = layer; + return { display, minimized, name, color, minimizable, nodes, minimizedDisplay }; } diff --git a/src/components/Layer.vue b/src/components/Layer.vue index abdf2bf..2d89ed2 100644 --- a/src/components/Layer.vue +++ b/src/components/Layer.vue @@ -1,7 +1,8 @@