1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-10 04:36:38 +00:00

Fix minor refreshing bug for geomap widget

This commit is contained in:
Jeremy Ruston 2023-04-03 17:58:49 +01:00
parent 9fdb81b08f
commit bd7742daeb

View File

@ -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;
}