Improve map lock and smart heading behavior
This commit is contained in:
@@ -51,43 +51,6 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.map-stage__crosshair {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
width: 44rpx;
|
||||
height: 44rpx;
|
||||
transform: translate(-50%, -50%);
|
||||
border: 3rpx solid rgba(255, 255, 255, 0.95);
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 0 0 4rpx rgba(22, 48, 32, 0.2);
|
||||
pointer-events: none;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.map-stage__crosshair::before,
|
||||
.map-stage__crosshair::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
}
|
||||
|
||||
.map-stage__crosshair::before {
|
||||
left: 50%;
|
||||
top: -18rpx;
|
||||
width: 2rpx;
|
||||
height: 76rpx;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.map-stage__crosshair::after {
|
||||
left: -18rpx;
|
||||
top: 50%;
|
||||
width: 76rpx;
|
||||
height: 2rpx;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.map-stage__map-pulse {
|
||||
position: absolute;
|
||||
width: 44rpx;
|
||||
|
||||
Reference in New Issue
Block a user