Skip to content

Commit

Permalink
Enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan committed Dec 5, 2022
1 parent 9eac40c commit 3a6ec1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/web-app-preview/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,8 @@ export default defineComponent({
let imageFilesToPreLoad = []
const imageFiles = this.filteredFiles.filter((file) => this.isFileTypeImage(file))
//TODO: Needs to pay attention to the current index
// Load first 10 images in to cache
imageFilesToPreLoad.push(...imageFiles.slice(0, PRELOAD_IMAGE_COUNT))
Expand Down

0 comments on commit 3a6ec1a

Please sign in to comment.