Skip to content

Commit

Permalink
Block viewer loop on timeline
Browse files Browse the repository at this point in the history
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
  • Loading branch information
Corentin Mors committed Oct 22, 2020
1 parent c1ffe53 commit df6db0e
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions js/photos-0.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-0.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions js/photos-5.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-5.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/photos-main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/photos-main.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/components/File.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default {
path: this.item.injected.filename,
list: this.item.injected.list,
loadMore: async() => await this.item.injected.loadMore(true),
canLoop: this.item.injected.canLoop,
})
},

Expand Down
1 change: 1 addition & 0 deletions src/views/Timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ export default {
...file,
list: this.fileList,
loadMore: this.getContent,
canLoop: false,
},
width: 256,
height: 256,
Expand Down

0 comments on commit df6db0e

Please sign in to comment.