aotds-docks/src/lib/components/Output/Print/Weapons/Beam/index.svelte

30 lines
512 B
Svelte
Raw Normal View History

2020-07-29 21:08:52 +00:00
<div>
<Arcs selected={arcs} size="40">
2022-03-01 17:42:33 +00:00
<text x="50%" y="50%">
{weapon_class}
2020-07-29 21:08:52 +00:00
</text>
</Arcs>
</div>
<script>
2022-03-01 17:42:33 +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>