mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
Skip editableDataEnabled check in rendererFeatures filters (re: #7706)
This commit is contained in:
@@ -93,8 +93,7 @@ export function rendererFeatures(context) {
|
||||
enable: function() { this.enabled = true; this.currentMax = this.defaultMax; },
|
||||
disable: function() { this.enabled = false; this.currentMax = 0; },
|
||||
hidden: function() {
|
||||
return !context.editableDataEnabled() ||
|
||||
(this.count === 0 && !this.enabled) ||
|
||||
return (this.count === 0 && !this.enabled) ||
|
||||
this.count > this.currentMax * _cullFactor;
|
||||
},
|
||||
autoHidden: function() { return this.hidden() && this.currentMax > 0; }
|
||||
|
||||
Reference in New Issue
Block a user