Revert "Only update selection styling for full redraws (re: #7706)"

This reverts commit f53cce783a.
This commit is contained in:
Quincy Morgan
2020-06-17 15:15:41 -04:00
parent 47c45f4b94
commit 9010fb9535
+2 -5
View File
@@ -256,11 +256,7 @@ export function modeSelect(context, selectedIDs) {
.on('redone.select', checkSelectedIDs);
context.map()
.on('drawn.select', function(info) {
if (info.full !== false) {
selectElements();
}
})
.on('drawn.select', selectElements)
.on('crossEditableZoom.select', function() {
selectElements();
_breatheBehavior.restartIfNeeded(context.surface());
@@ -345,6 +341,7 @@ export function modeSelect(context, selectedIDs) {
surface.selectAll('.related')
.classed('related', false);
singularParent();
if (_relatedParent) {
surface.selectAll(utilEntitySelector([_relatedParent]))
.classed('related', true);