Reload only if already loaded
parent
540b80f1e0
commit
7f60c60ebb
|
@ -364,12 +364,15 @@ export default {
|
|||
delete row.pct;
|
||||
}
|
||||
|
||||
// Force reload all loaded images
|
||||
if ((i < this.currentStart || i > this.currentEnd) && row.photos) {
|
||||
for (const photo of row.photos) {
|
||||
if (photo.flag & constants.FLAG_LOADED) {
|
||||
photo.flag = (photo.flag & ~constants.FLAG_LOADED) | constants.FLAG_FORCE_RELOAD;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Make sure we don't do this too often
|
||||
this.currentStart = startIndex;
|
||||
|
|
Loading…
Reference in New Issue