Keep compass rose fixed while needle turns
This commit is contained in:
1 parent
260e0a3df5
commit
bb69b9fd0d
2 files changed
+4
-5
No files matched your search
@@ -29,8 +29,8 @@
|
|||||||
<ApplicationId>it.liviomerola.lmemappecatastali.pro</ApplicationId>
|
<ApplicationId>it.liviomerola.lmemappecatastali.pro</ApplicationId>
|
||||||
|
|
||||||
<!-- Versions -->
|
<!-- Versions -->
|
||||||
<ApplicationDisplayVersion>1.0.17</ApplicationDisplayVersion>
|
<ApplicationDisplayVersion>1.0.18</ApplicationDisplayVersion>
|
||||||
<ApplicationVersion>117</ApplicationVersion>
|
<ApplicationVersion>118</ApplicationVersion>
|
||||||
<Version>$(ApplicationDisplayVersion)</Version>
|
<Version>$(ApplicationDisplayVersion)</Version>
|
||||||
|
|
||||||
<!-- To develop, package, and publish an app to the Microsoft Store, see: https://aka.ms/MauiTemplateUnpackaged -->
|
<!-- To develop, package, and publish an app to the Microsoft Store, see: https://aka.ms/MauiTemplateUnpackaged -->
|
||||||
|
|||||||
+2
-3
@@ -1703,8 +1703,6 @@ label {
|
|||||||
.map-compass-rose {
|
.map-compass-rose {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
transform: rotate(var(--compass-rotation));
|
|
||||||
transition: transform 120ms linear;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.map-compass-direction {
|
.map-compass-direction {
|
||||||
@@ -1743,10 +1741,11 @@ label {
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
width: 4px;
|
width: 4px;
|
||||||
height: 23px;
|
height: 23px;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%) rotate(var(--compass-rotation));
|
||||||
transform-origin: 50% 100%;
|
transform-origin: 50% 100%;
|
||||||
border-radius: 4px 4px 1px 1px;
|
border-radius: 4px 4px 1px 1px;
|
||||||
background: #ef4444;
|
background: #ef4444;
|
||||||
|
transition: transform 120ms linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
.map-compass-needle::after {
|
.map-compass-needle::after {
|
||||||
|
|||||||
Reference in new issue
Block a user