mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 08:17:30 +02:00
Don't hide features that the user just created
This commit is contained in:
@@ -287,7 +287,8 @@ iD.Features = function(context) {
|
||||
};
|
||||
|
||||
features.isHidden = function(entity) {
|
||||
return features.isHiddenFeature(entity) || features.isHiddenChild(entity);
|
||||
return !!entity.version &&
|
||||
(features.isHiddenFeature(entity) || features.isHiddenChild(entity));
|
||||
};
|
||||
|
||||
features.filter = function(d) {
|
||||
|
||||
Reference in New Issue
Block a user