Skip to content

Commit

Permalink
fix(map): union leader symbol 'None' displays text 'none'
Browse files Browse the repository at this point in the history
fixes #3
  • Loading branch information
MichaelMakesGames committed Feb 14, 2024
1 parent 4dda622 commit 4d7204d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/lib/map/CountryLabels.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
height={emblemHeight}
xlink:href={data.emblems[label.emblemKey]}
/>
{#if label.isUnionLeader}
{#if label.isUnionLeader && $mapSettings.unionLeaderSymbol !== 'none'}
<text
transform="translate({point[0]},{point[1] -
(textHeight ? emblemHeight : emblemHeight / 2)})"
Expand Down

0 comments on commit 4d7204d

Please sign in to comment.