auto-sync: 2026-05-05 17:20:01
This commit is contained in:
@@ -593,6 +593,15 @@ body.has-map-mode #sheet-backdrop.visible { pointer-events: none; }
|
||||
cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
.mini-arrow:active { background: var(--accent); color: #fff; border-color: var(--accent); }
|
||||
.mini-add-btn {
|
||||
width: 32px; height: 32px;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
background: var(--accent); border: none;
|
||||
border-radius: 10px; color: #fff;
|
||||
cursor: pointer; flex-shrink: 0;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
.mini-add-btn:active { opacity: 0.8; transform: scale(0.94); }
|
||||
|
||||
@media (min-width: 768px) {
|
||||
#sheet-route-mini { left: 72px; width: 380px; right: auto; border-radius: 0 14px 0 0; }
|
||||
|
||||
2
tasks/enduro-trails/prototype/static/app.js
vendored
2
tasks/enduro-trails/prototype/static/app.js
vendored
@@ -1719,6 +1719,8 @@ function initMiniRouteInteraction() {
|
||||
// Re-bind arrow buttons
|
||||
document.getElementById('mini-prev').onclick = (e) => { e.stopPropagation(); selectMiniRoute(activeRouteIdx - 1); };
|
||||
document.getElementById('mini-next').onclick = (e) => { e.stopPropagation(); selectMiniRoute(activeRouteIdx + 1); };
|
||||
const addBtn = document.getElementById('mini-add-btn');
|
||||
if (addBtn) addBtn.onclick = (e) => { e.stopPropagation(); miniAddWaypoint(); };
|
||||
|
||||
let startX = 0, startY = 0;
|
||||
newMini.addEventListener('touchstart', e => {
|
||||
|
||||
Reference in New Issue
Block a user