mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Only update selection styling for full redraws (re: #7706)
This commit is contained in:
@@ -256,7 +256,11 @@ export function modeSelect(context, selectedIDs) {
|
||||
.on('redone.select', checkSelectedIDs);
|
||||
|
||||
context.map()
|
||||
.on('drawn.select', selectElements)
|
||||
.on('drawn.select', function(info) {
|
||||
if (info.full !== false) {
|
||||
selectElements();
|
||||
}
|
||||
})
|
||||
.on('crossEditableZoom.select', function() {
|
||||
selectElements();
|
||||
_breatheBehavior.restartIfNeeded(context.surface());
|
||||
@@ -343,7 +347,6 @@ export function modeSelect(context, selectedIDs) {
|
||||
surface.selectAll('.related')
|
||||
.classed('related', false);
|
||||
|
||||
singularParent();
|
||||
if (_relatedParent) {
|
||||
surface.selectAll(utilEntitySelector([_relatedParent]))
|
||||
.classed('related', true);
|
||||
|
||||
Reference in New Issue
Block a user