From 9b7b0cde9e5d25c5a57da58c381cf230af1098cb Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Sun, 16 Feb 2025 11:35:57 +0100 Subject: [PATCH] fix walkthrough from not correctly registering deleted ways fixes #10776, this was a regression in 7559dea --- CHANGELOG.md | 2 ++ modules/ui/intro/line.js | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 963d3a53e..25451ae42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,6 +63,7 @@ _Breaking developer changes, which may affect downstream projects or sites that * Add `housename` to address format in Bolivia ([#10727]) #### :hourglass: Performance #### :mortar_board: Walkthrough / Help +* Fix walkthrough from not correctly registering deleted ways in "Lines" step ([#10776]) #### :rocket: Presets #### :hammer: Development @@ -81,6 +82,7 @@ _Breaking developer changes, which may affect downstream projects or sites that [#10763]: https://github.com/openstreetmap/iD/pull/10763 [#10764]: https://github.com/openstreetmap/iD/issues/10764 [#10766]: https://github.com/openstreetmap/iD/pull/10766 +[#10776]: https://github.com/openstreetmap/iD/issues/10776 [@hlfan]: https://github.com/hlfan [@Deeptanshu-sankhwar]: https://github.com/Deeptanshu-sankhwar [@draunger]: https://github.com/draunger diff --git a/modules/ui/intro/line.js b/modules/ui/intro/line.js index 160d891ed..acd118b06 100644 --- a/modules/ui/intro/line.js +++ b/modules/ui/intro/line.js @@ -1000,9 +1000,6 @@ export function uiIntroLine(context, reveal) { ); context.map().on('move.intro drawn.intro', function() { - if (selectMenuItem(context, 'delete').empty()) { - return continueTo(multiRightClick); - } reveal('.edit-menu', helpHtml('intro.lines.multi_delete'), { duration: 0, padding: 50 }