Don't hide features that the user just created

This commit is contained in:
Bryan Housel
2014-10-23 10:07:54 -04:00
parent 9666af30c6
commit a085ce6dc8
+2 -1
View File
@@ -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) {