From bd7742daeb927553a68987b231ef4c69753e82cf Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 3 Apr 2023 17:58:49 +0100 Subject: [PATCH] Fix minor refreshing bug for geomap widget --- plugins/tiddlywiki/geospatial/widgets/geomap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tiddlywiki/geospatial/widgets/geomap.js b/plugins/tiddlywiki/geospatial/widgets/geomap.js index 834878fdf..21a62bc2d 100644 --- a/plugins/tiddlywiki/geospatial/widgets/geomap.js +++ b/plugins/tiddlywiki/geospatial/widgets/geomap.js @@ -172,7 +172,7 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of GeomapWidget.prototype.refresh = function(changedTiddlers) { var changedAttributes = this.computeAttributes(); // Refresh entire widget if layers or marker filter changes - if(changedAttributes.layers || changedAttributes.markers) { + if(changedAttributes.layers || changedAttributes.markers || changedAttributes.state) { this.refreshSelf(); return true; }