Keep compass rose fixed while needle turns

This commit is contained in:
livio committed 2026-10-05 02:50:36 +02:00
1 parent 260e0a3df5
commit bb69b9fd0d
2 files changed
+4 -5

No files matched your search

+2 -2
View File
@@ -29,8 +29,8 @@
<ApplicationId>it.liviomerola.lmemappecatastali.pro</ApplicationId>
<!-- Versions -->
<ApplicationDisplayVersion>1.0.17</ApplicationDisplayVersion>
<ApplicationVersion>117</ApplicationVersion>
<ApplicationDisplayVersion>1.0.18</ApplicationDisplayVersion>
<ApplicationVersion>118</ApplicationVersion>
<Version>$(ApplicationDisplayVersion)</Version>
<!-- To develop, package, and publish an app to the Microsoft Store, see: https://aka.ms/MauiTemplateUnpackaged -->
+2 -3
View File
@@ -1703,8 +1703,6 @@ label {
.map-compass-rose {
position: absolute;
inset: 0;
transform: rotate(var(--compass-rotation));
transition: transform 120ms linear;
}
.map-compass-direction {
@@ -1743,10 +1741,11 @@ label {
left: 50%;
width: 4px;
height: 23px;
transform: translateX(-50%);
transform: translateX(-50%) rotate(var(--compass-rotation));
transform-origin: 50% 100%;
border-radius: 4px 4px 1px 1px;
background: #ef4444;
transition: transform 120ms linear;
}
.map-compass-needle::after {