auto-sync: 2026-05-05 17:20:01

This commit is contained in:
Stream
2026-05-05 17:20:01 +03:00
parent 3ba7ac20aa
commit cdfd54a03d
2 changed files with 11 additions and 0 deletions

View File

@@ -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; }

View File

@@ -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 => {