Rapid icon indicating copy to clipboard operation
Rapid copied to clipboard

Hotkey for 'switch parent way' is not working.

Open Bonkles opened this issue 3 years ago • 1 comments

Selecting a node should allow us to hit the 'Pause' or '' hotkeys to switch the selection between all the node's parent ways (say, a node at road intersection).

This doesn't appear to be working.

Bonkles avatar Oct 31 '22 15:10 Bonkles

Issue seems to be that we're still using outdated 'surface' code with css selectors to perform this block:

modules/modes/select.js#focusNextParent::447:

            var surface = context.surface();
            surface.selectAll('.related')
                .classed('related', false);

            if (_focusedParentWayId) {
                surface.selectAll(utilEntitySelector([_focusedParentWayId]))
                    .classed('related', true);

Bonkles avatar Oct 31 '22 15:10 Bonkles