auto-sync: 2026-05-06 23:20:01
This commit is contained in:
9
tasks/enduro-trails/prototype/static/app.js
vendored
9
tasks/enduro-trails/prototype/static/app.js
vendored
@@ -2368,9 +2368,14 @@ function cancelAddWaypoint() {
|
||||
addingWaypoint = false;
|
||||
window._map.getCanvas().style.cursor = routeMode ? 'crosshair' : '';
|
||||
hideMiniOnboard();
|
||||
// Вернуть обычный мини-бар если маршрут уже построен
|
||||
// Просто показать мини-бар без открытия листа
|
||||
if (routeResults.length > 0) {
|
||||
showMiniRouteSheet();
|
||||
// Показать мини-бар с результатом маршрута (без открытия листа)
|
||||
updateMiniRouteCard();
|
||||
document.getElementById('sheet-route-mini').classList.add('visible');
|
||||
const ctrl = document.getElementById('map-controls-r');
|
||||
if (ctrl) ctrl.style.bottom = '148px';
|
||||
initMiniRouteInteraction();
|
||||
} else if (routeWaypoints.length > 0) {
|
||||
showRouteOnboardingMini();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user