Implemented new frontpage

This commit is contained in:
2017-09-22 17:23:22 +02:00
parent 9c900ec01b
commit 4ce0bed52c
7 changed files with 70 additions and 30 deletions

View File

@ -619,6 +619,11 @@ export class AnimeNotifier {
let newScroll = 0
let finalScroll = Math.max(target.offsetTop - contentPadding, 0)
let scrollDistance = finalScroll - oldScroll
if(scrollDistance > 0 && scrollDistance < 4) {
return
}
let timeStart = Date.now()
let timeEnd = timeStart + duration