From d5efe6b8e260863527b9a6a15fb9059d570f2559 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 24 Jan 2025 18:23:41 +0100 Subject: [PATCH] fix: get COLORS from Utils now that it has been moved there --- umap/static/umap/js/modules/rendering/layers/classified.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/modules/rendering/layers/classified.js b/umap/static/umap/js/modules/rendering/layers/classified.js index 039df186..ff02c33f 100644 --- a/umap/static/umap/js/modules/rendering/layers/classified.js +++ b/umap/static/umap/js/modules/rendering/layers/classified.js @@ -424,7 +424,7 @@ export const Categorized = FeatureGroup.extend({ } else { this.options.colors = colorbrewer?.Accent[this._classes] ? colorbrewer?.Accent[this._classes] - : U.COLORS // Fixme: move COLORS to modules/ + : Utils.COLORS } },