2023-04-28 15:18:31 +00:00
|
|
|
<div>
|
2020-07-29 21:08:52 +00:00
|
|
|
<Arcs selected={arcs} size="40">
|
2022-03-01 17:42:33 +00:00
|
|
|
<text x="50%" y="50%">
|
2022-03-26 15:47:10 +00:00
|
|
|
{weaponClass}
|
2020-07-29 21:08:52 +00:00
|
|
|
</text>
|
|
|
|
</Arcs>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script>
|
2022-03-26 15:47:10 +00:00
|
|
|
import Arcs from "$lib/components/ShipEdit/Weaponry/Weapon/Arcs.svelte";
|
|
|
|
export let weaponClass = 1;
|
2020-07-29 21:08:52 +00:00
|
|
|
export let arcs = [];
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
2023-05-02 13:49:39 +00:00
|
|
|
div {
|
|
|
|
margin: 0px 0.5rem;
|
|
|
|
}
|
2020-07-29 21:08:52 +00:00
|
|
|
div :global(path:hover) {
|
|
|
|
fill: white;
|
|
|
|
}
|
|
|
|
div :global(path.active:hover) {
|
|
|
|
fill: black;
|
|
|
|
}
|
|
|
|
text {
|
|
|
|
text-anchor: middle;
|
|
|
|
dominant-baseline: central;
|
|
|
|
font-size: var(--font-scale-10);
|
|
|
|
}
|
|
|
|
</style>
|