2020-07-29 21:08:52 +00:00
|
|
|
<div>
|
|
|
|
<Arcs selected={arcs} size="40">
|
|
|
|
<text x="50%" y="50%" >
|
|
|
|
{weapon_class}
|
|
|
|
</text>
|
|
|
|
</Arcs>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script>
|
2021-05-17 13:48:31 +00:00
|
|
|
import Arcs from '$lib/components/Weapon/Arcs/index.svelte';
|
2020-07-29 21:08:52 +00:00
|
|
|
export let weapon_class = 1;
|
|
|
|
export let arcs = [];
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
div :global(path) {
|
|
|
|
}
|
|
|
|
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>
|