From a415278b6ad13857a04f73d32c84eba1e8958ff2 Mon Sep 17 00:00:00 2001 From: Yanick Champoux Date: Wed, 22 Mar 2023 13:04:47 -0400 Subject: [PATCH] ShipEdit with propulsion --- src/lib/components/GlobalStyle.svelte | 2 +- src/lib/components/ShipEdit.svelte | 7 +-- .../ShipEdit/Propulsion/Engine.svelte | 2 +- .../components/ShipEdit/Propulsion/Ftl.svelte | 8 ++-- src/lib/shipDux/propulsion/ftl.ts | 44 ++++--------------- src/lib/store/ship.test.ts | 10 +++++ src/lib/store/ship.ts | 37 ++++++++++++++++ src/lib/store/ship/identification.ts | 6 +++ src/lib/store/ship/propulsion/ftl.ts | 40 +++++++++++++++++ 9 files changed, 112 insertions(+), 44 deletions(-) create mode 100644 src/lib/store/ship.test.ts create mode 100644 src/lib/store/ship/propulsion/ftl.ts diff --git a/src/lib/components/GlobalStyle.svelte b/src/lib/components/GlobalStyle.svelte index 58095da..3d01505 100644 --- a/src/lib/components/GlobalStyle.svelte +++ b/src/lib/components/GlobalStyle.svelte @@ -116,7 +116,7 @@ border: 1px solid var(--indigo-dye); } - input:not([type="checkbox"]) { + input:not([type="checkbox"]):not([type="radio"]) { border: 0px; border-bottom: 1px solid var(--indigo-dye); border-radius: 0px; diff --git a/src/lib/components/ShipEdit.svelte b/src/lib/components/ShipEdit.svelte index 4aded09..c2a0071 100644 --- a/src/lib/components/ShipEdit.svelte +++ b/src/lib/components/ShipEdit.svelte @@ -1,13 +1,14 @@
+