trying to fix the date slider save thing arggg

This commit is contained in:
mattiapezzotti
2024-07-06 14:47:05 +02:00
parent 86023c0bea
commit fee3d4a3f7
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -402,7 +402,7 @@ export function uiSectionPhotoOverlays(context) {
let value = parseInt(d3_select(this).property('value'), 10);
let minYear = parseInt(d3_select(this).property('min'), 10);
value = minYear + (currYear - value);
context.photos().setFromYearFilter(value);
context.photos().setFromYearFilter(value, true);
output.html(value + ' - ' + currYear);
});