Skip editableDataEnabled check in rendererFeatures filters (re: #7706)

This commit is contained in:
Quincy Morgan
2020-06-16 13:19:54 -04:00
parent e476321818
commit 3ba805d6ca
+1 -2
View File
@@ -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; }