mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 23:44:47 +02:00
Fix issue with dragging node in between editing its tags (close #7606)
This commit is contained in:
@@ -270,11 +270,15 @@ export function uiEntityEditor(context) {
|
||||
|
||||
entityEditor.entityIDs = function(val) {
|
||||
if (!arguments.length) return _entityIDs;
|
||||
|
||||
// always reload these even if the entityIDs are unchanged, since we
|
||||
// could be reselecting after something like dragging a node
|
||||
_base = context.graph();
|
||||
_coalesceChanges = false;
|
||||
|
||||
if (val && _entityIDs && utilArrayIdentical(_entityIDs, val)) return entityEditor; // exit early if no change
|
||||
|
||||
_entityIDs = val;
|
||||
_base = context.graph();
|
||||
_coalesceChanges = false;
|
||||
|
||||
loadActivePresets(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user