From 3ba805d6ca9f6985195ddc9b5a080616c21b5df5 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Tue, 16 Jun 2020 13:19:54 -0400 Subject: [PATCH] Skip editableDataEnabled check in rendererFeatures filters (re: #7706) --- modules/renderer/features.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/renderer/features.js b/modules/renderer/features.js index 35d22443a..a0b0f74e5 100644 --- a/modules/renderer/features.js +++ b/modules/renderer/features.js @@ -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; }