From e36c13bd2d813ffa3d4f95db221ea04c0deff8a3 Mon Sep 17 00:00:00 2001 From: Yanick Champoux Date: Mon, 27 Mar 2023 13:11:38 -0400 Subject: [PATCH] structure edit done --- src/lib/components/ShipEdit/Structure.svelte | 6 ++++++ .../components/ShipEdit/Structure/Armor.svelte | 16 ++++++++-------- .../ShipEdit/Structure/Armor/Layer.svelte | 6 +++--- .../components/ShipEdit/Structure/Screens.svelte | 14 +++++++------- 4 files changed, 24 insertions(+), 18 deletions(-) diff --git a/src/lib/components/ShipEdit/Structure.svelte b/src/lib/components/ShipEdit/Structure.svelte index c301c1a..2026dcb 100644 --- a/src/lib/components/ShipEdit/Structure.svelte +++ b/src/lib/components/ShipEdit/Structure.svelte @@ -1,5 +1,7 @@
+ +
@@ -9,8 +11,12 @@ import Streamlining from "./Structure/Streamlining.svelte"; import Cargo from "./Structure/Cargo.svelte"; import Hull from "./Structure/Hull.svelte"; + import Screens from "./Structure/Screens.svelte"; + import Armor from "./Structure/Armor.svelte"; export let streamlining = {}; export let cargo = {}; export let hull = {}; + export let screens = {}; + export let armor = {}; diff --git a/src/lib/components/ShipEdit/Structure/Armor.svelte b/src/lib/components/ShipEdit/Structure/Armor.svelte index b4a3a45..c63e79c 100644 --- a/src/lib/components/ShipEdit/Structure/Armor.svelte +++ b/src/lib/components/ShipEdit/Structure/Armor.svelte @@ -7,27 +7,27 @@
- {#each layers as rating,i (i)} - + {#each layers as rating, i (i)} + {/each}