From 39d2201e6e49fad6da94b8b3bfe08cfe22a66fa2 Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Tue, 6 May 2025 11:16:08 +0200 Subject: [PATCH] fix hover-highlight of changed features in upload dialog fixes #10030 --- CHANGELOG.md | 2 ++ modules/ui/sections/changes.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3c78e01f..991043d11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,7 @@ _Breaking developer changes, which may affect downstream projects or sites that * Only consider feature with proper lifecycle tags in "past/futures" layer ([#10943]) * Fix zoom level from resetting to the starting value when switching background imagery layer during the zoom transition * Fix invalid single-noded ways from being created by a _split_ operation under certain conditions when multiple nodes are selected ([#10997]) +* Properly highlight changed features when they are hovered in the upload dialog's list of changes ([#10030]) #### :earth_asia: Localization #### :hourglass: Performance #### :mortar_board: Walkthrough / Help @@ -67,6 +68,7 @@ _Breaking developer changes, which may affect downstream projects or sites that * Drop support for Node 18 [#9873]: https://github.com/openstreetmap/iD/issues/9873 +[#10030]: https://github.com/openstreetmap/iD/issues/10030 [#10104]: https://github.com/openstreetmap/iD/issues/10104 [#10492]: https://github.com/openstreetmap/iD/issues/10492 [#10942]: https://github.com/openstreetmap/iD/pull/10942 diff --git a/modules/ui/sections/changes.js b/modules/ui/sections/changes.js index 32abc0211..ba37dc64b 100644 --- a/modules/ui/sections/changes.js +++ b/modules/ui/sections/changes.js @@ -123,7 +123,7 @@ export function uiSectionChanges(context) { .call(t.append('commit.download_changes')); - function mouseover(d) { + function mouseover(d3_event, d) { if (d.entity) { context.surface().selectAll( utilEntityOrMemberSelector([d.entity.id], context.graph())