From 4ea5a28f04fee3a4214d4afabcc412b5ed74ebcf Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 19 Dec 2024 13:23:48 +0100 Subject: [PATCH] chore: no need to call layer.redraw in layer.render() We already call hide/show, which is what redraw does --- umap/static/umap/js/modules/data/layer.js | 1 - 1 file changed, 1 deletion(-) diff --git a/umap/static/umap/js/modules/data/layer.js b/umap/static/umap/js/modules/data/layer.js index 734aaca1..ec3d13ab 100644 --- a/umap/static/umap/js/modules/data/layer.js +++ b/umap/static/umap/js/modules/data/layer.js @@ -151,7 +151,6 @@ export class DataLayer extends ServerStored { for (const field of fields) { this.layer.onEdit(field, builder) } - this.redraw() this.show() break case 'remote-data':