forked from MapComplete/MapComplete
Fix: fix compass widget
This commit is contained in:
parent
22626b5826
commit
7f45d7487d
2 changed files with 2 additions and 2 deletions
|
|
@ -763,7 +763,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"if": "mapcomplete-fixate-north=yes",
|
"if": "mapcomplete-fixate-north=yes",
|
||||||
"icon": "./assets/svg/compass.svg",
|
"icon": "./assets/svg/north_arrow.svg",
|
||||||
"then": {
|
"then": {
|
||||||
"en": "Always keep north pointing up",
|
"en": "Always keep north pointing up",
|
||||||
"ca": "Mantingueu sempre el nord apuntant cap amunt",
|
"ca": "Mantingueu sempre el nord apuntant cap amunt",
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ function clicked(e: Event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
{#if $allowRotation || !$gotNonZero}
|
{#if $allowRotation || $gotNonZero}
|
||||||
<button style="z-index: -1" class={"relative as-link pointer-events-auto "+size} on:click={(e) => clicked(e)}>
|
<button style="z-index: -1" class={"relative as-link pointer-events-auto "+size} on:click={(e) => clicked(e)}>
|
||||||
{#if $allowRotation && !$compassLoaded && !$gotNonZero}
|
{#if $allowRotation && !$compassLoaded && !$gotNonZero}
|
||||||
<div class={"border-2 rounded-full border-gray-500 border-dotted "+wrapperClass}
|
<div class={"border-2 rounded-full border-gray-500 border-dotted "+wrapperClass}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue